Microsoft SDK for Java

callSub

The callSub method of the Dispatch Class contains the following signatures:

callSub(Object pDispatch, String dispName)
callSub(Object pDispatch, String dispName, Object o0)
callSub(Object pDispatch, String dispName, Object o0, Object o1)
callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2)
callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3)
callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4)
callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5)
callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6)
callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7)
callSub(Object pDispatch, int dispid)
callSub(Object pDispatch, int dispid, Object o0)
callSub(Object pDispatch, int dispid, Object o0, Object o1)
callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2)
callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3)
callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4)
callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5)
callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6)
callSub(Object pDispatch, int dispid Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7)

callSub(Object pDispatch, String dispName)

Invokes a subroutine (that has no parameters) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, String dispName);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.

callSub(Object pDispatch, String dispName, Object o0)

Invokes a subroutine (that has one parameter) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, String dispName, Object o0);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
o0 A parameter of the invoked method.

callSub(Object pDispatch, String dispName, Object o0, Object o1)

Invokes a subroutine (that has two parameters) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, String dispName, Object o0, Object o1);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.

callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2)

Invokes a subroutine (that has three parameters) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.

callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3)

Invokes a subroutine (that has four parameters) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.

callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4)

Invokes a subroutine (that has five parameters) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.
o4 A parameter of the invoked method.

callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5)

Invokes a subroutine (that has six parameters) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.
o4 A parameter of the invoked method.
o5 A parameter of the invoked method.

callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6)

Invokes a subroutine (that has seven parameters) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.
o4 A parameter of the invoked method.
o5 A parameter of the invoked method.
o6 A parameter of the invoked method.

callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7)

Invokes a subroutine (that has eight parameters) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, String dispName, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6,

        Object o7);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispName The name of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.
o4 A parameter of the invoked method.
o5 A parameter of the invoked method.
o6 A parameter of the invoked method.
o7 A parameter of the invoked method.

callSub(Object pDispatch, int dispid)

Invokes a subroutine (that has no parameters) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, int dispid);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.

callSub(Object pDispatch, int dispid, Object o0)

Invokes a subroutine (that has one parameter) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, int dispid, Object o0);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
o0 A parameter of the invoked method.

callSub(Object pDispatch, int dispid, Object o0, Object o1)

Invokes a subroutine (that has two parameters) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, int dispid, Object o0, Object o1);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.

callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2)

Invokes a subroutine (that has three parameters) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.

callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3)

Invokes a subroutine (that has four parameters) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.

callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4)

Invokes a subroutine (that has five parameters) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.
o4 A parameter of the invoked method.

callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5)

Invokes a subroutine (that has six parameters) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.
o4 A parameter of the invoked method.
o5 A parameter of the invoked method.

callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6)

Invokes a subroutine (that has seven parameters) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.
o4 A parameter of the invoked method.
o5 A parameter of the invoked method.
o6 A parameter of the invoked method.

callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6, Object o7)

Invokes a subroutine (that has eight parameters) on an ActiveX Automation object.

Syntax

public static void callSub(Object pDispatch, int dispid, Object o0, Object o1, Object o2, Object o3, Object o4, Object o5, Object o6,

        Object o7);

Parameters

pDispatch The Java proxy of the ActiveX Automation object.
dispid The identifier of the invoked method.
o0 A parameter of the invoked method.
o1 A parameter of the invoked method.
o2 A parameter of the invoked method.
o3 A parameter of the invoked method.
o4 A parameter of the invoked method.
o5 A parameter of the invoked method.
o6 A parameter of the invoked method.
o7 A parameter of the invoked method.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.