Microsoft SDK for Java

ActiveXComponent Class Constructors

The ActiveXComponent Class contains the following constructors:

ActiveXComponent()
ActiveXComponent(String c)
ActiveXComponent(IUnknown punk)

ActiveXComponent()

Creates a new ActiveXComponent object.

Syntax

public ActiveXComponent();

ActiveXComponent(String c)

Creates a new ActiveXComponent object whose class is identified by the CLSID or ProgID (programatic identifier).

Syntax

public ActiveXComponent(String c);

Parameters

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.

ActiveXComponent(IUnknown punk)

Creates a new ActiveXComponent object using the identity of a pre-existing COM object.

Syntax

public ActiveXComponent(IUnknown punk);

Parameters

punk The identity of the COM object.

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