The ActiveXControl Class contains the following constructors:
ActiveXControl()
ActiveXControl(String clsid)
ActiveXControl(IUnknown punk)
Creates an ActiveXControl object that is a container for an ActiveX control. To add a control to the container, you can call the createControl method.
public ActiveXControl();
Creates an ActiveXControl object that is a container for an ActiveX control. This method hosts the control specified by the CLSID (class identifier) or ProgID (programatic identifier).
public ActiveXControl(String clsid);
clsid | Identifies the CLSID (or ProgID) for the ActiveX control. The CLSID is in the form "{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}", where x is a valid hexadecimal number. |
Creates an ActiveXControl object that is a container for an ActiveX control. This method hosts a control that has already been created.
public ActiveXControl(IUnknown punk);
punk | The identity of the ActiveX control. |