OleClientSite.exec

Asks the OLE Document or ActiveX Control to execute a command from a standard list of commands. The OLE Document or ActiveX Control must support the IOleCommandTarget interface. The OLE Document or ActiveX Control does not have to support all the commands in the standard list. To check if a command is supported, you can call queryStatus with the cmdID.

@param cmdID the ID of a command; these are the OLE.OLECMDID_ values - a small set of common commands @param options the optional flags; these are the OLE.OLECMDEXECOPT_ values @param in the argument for the command @param out the return value of the command

@return an HRESULT value; OLE.S_OK is returned if successful

class OleClientSite
int
exec

Meta