The ActiveXComponent Class contains the following constructors:
ActiveXComponent()
ActiveXComponent(String c)
ActiveXComponent(IUnknown punk)
Creates a new ActiveXComponent object.
public ActiveXComponent();
Creates a new ActiveXComponent object whose class is identified by the CLSID or ProgID (programatic identifier).
public ActiveXComponent(String c);
c | The CLSID (or ProgID) of the object that is created. The CLSID must be in the form "{xxx...xxx}", where x represents a numeric character between 0 and 9, inclusive. |
Creates a new ActiveXComponent object using the identity of a pre-existing COM object.
public ActiveXComponent(IUnknown punk);
punk | The identity of the COM object. |