Skip to main content

%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

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

Inherited Methods

FeedbackOpens in a new tab