Skip to content

ExecWB Method

Description

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

Syntax

Public Sub ExecWB( _
    ByVal CmdID As Long, _
    ByVal CmdExecOpt As Long, _
    Optional ByVal pvaIn As Variant, _
    Optional ByVal pvaOut As Variant _
)

Parameters

  • CmdID: Long that represents the identifier of the command to execute.
  • CmdExecOpt: OLECMDEXECOPT value that specifies the command options.
  • pvaIn: Variant used for specifying command input arguments.
  • pvaOut: Variant used for specifying command output arguments.

See Also


See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.