This method of the IWebBrowser2 interface implements a wrapper that allows you to execute a command on an OLE object using the IOleCommandTarget::Exec method.
public void ExecWB(int cmdID, int cmdexecopt,
com.ms.com.Variant pvaIn, com.ms.com.Variant pvaOut);
cmdID | [in] The OLECMDID value that specifies the command to execute. |
cmdexecopt | [in] The OLECMDEXECOPT value that specifies the command options. |
pvaIn | [in] The address of a VARIANT structure that contains command input arguments. This argument can be NULL. |
pvaOut | [out, in] The address of a VARIANT structure that receives command output. This argument can be NULL. |