This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions page (login required).

%Activate.GenericObject

class %Activate.GenericObject extends %Activate.IDispatch

This class provides functionality to create an ActiveX object, invoke its methods and Get/Set its properties by name.

Method Inventory (Including Private)

Methods

final classmethod CreateObject(Progid As %Library.String) as %RegisteredObject
This method is used to create a generic object given only its progid. If the object cannot be found an exception is thrown. The return value should be tested against $$$NULLOREF in the usual manner to ensure that the object has been successfully created
final classmethod GetObject(Moniker As %Library.String) as %RegisteredObject
This method is used to create a generic object from a moniker. If the object cannot be found an exception is thrown. The return value should be tested against $$$NULLOREF in the usual manner to ensure that the object has been successfully created.

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Feedback