ExecWB Method

Executes a command and returns the status of the command execution using the IOleCommandTarget interface.

Syntax

object.ExecWB( _
    cmdID As OLECMDID, _
    cmdexecopt As OLECMDEXECOPT, _
    [pvaIn As Variant,] _
    [pvaOut As Variant])

Parameters

cmdID
A Long that represents the identifier of the command to execute. For more information on command identifiers, see > OLECMDID Help.
cmdexecopt
An OLECMDEXECOPT value that specifies the command options.
pvaIn
Optional. A Variant used for specifying command input arguments.
pvaOut
Optional. A Variant used for specifying command output arguments.

Remarks

Certain commands (OLECMDID_CUT, OLECMDID_COPY, and OLECMDID_PASTE) are only available if URLACTION_SCRIPT_SAFE_ACTIVEX and URLACTION_SCRIPT_PASTE are set to URLPOLICY_ALLOW.

Applies To

InternetExplorer, WebBrowser

See Also

Tags : ie print


Page view tracker