Click to return to the Reusing Browser Technology home page    
ClientToWindow Method     GetProperty Method     WebBrowser Methods    
Web Workshop  |  Reusing Browser Technology

ExecWB Method


Executes a command on an OLE object and returns the status of the command execution using the IOLECommandTarget interface.

Syntax

object.ExecWB nCmdID, nCmdExecOpt, [pvaIn], [pvaOut]

Parameters

object
Required. An object expression that evaluates to an object in the Applies To list.
nCmdID
Required. A long integer that represents the identifier of the command to execute. For more information on command identifiers, see MSHTML Editing Command Identifiers.
nCmdExecOpt
Required. A long integer that represents the options set for executing the command.
pvaIn
Optional. A variant used for specifying command input arguments.
pvaOut
Optional. A variant used for specifying command output arguments.

Applies To

InternetExplorer, WebBrowser

See Also

IOLECMDEXECOPT



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

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