Microsoft SDK for Java

ActiveXComponent Class Methods

The ActiveXComponent Class contains the following methods:

createInstance creates a new instance of the ActiveXComponent class.
enableEvents wires events for an object.
getCLSID retrieves the CLSID (or ProgID) of the ActiveXComponent object.
getHost retrieves the interface of the ActiveXComponent host.
getObject retrieves the IUnknown interface of an ActiveXComponent object.
getProperty invokes a property to retrieve the property value.
invoke invokes a method on the ActiveX control.
setCLSID sets the CLSID or (ProgID) of the ActiveXComponent object.
setProperty sets a variant property of the ActiveX control.

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