Home > Class Reference > ENSLIB namespace > %Activate.GenericObject
Private  Storage   

%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.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2


Summary


Properties
%IDispatchPtr

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetIID %GetParameter %GetRefCount %IDispatchPtrSet
%IsA %IsModified %MakeVariantReturnValue %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
Become CreateObject GetObject GetProperty
GetProperty1 GetProperty1AsStream GetPropertyAsStream InvokeMethod
InvokeMethod1 InvokeMethod10 InvokeMethod10AsStream InvokeMethod1AsStream
InvokeMethod2 InvokeMethod2AsStream InvokeMethod3 InvokeMethod3AsStream
InvokeMethod4 InvokeMethod4AsStream InvokeMethod5 InvokeMethod5AsStream
InvokeMethod6 InvokeMethod6AsStream InvokeMethod7 InvokeMethod7AsStream
InvokeMethod8 InvokeMethod8AsStream InvokeMethod9 InvokeMethod9AsStream
InvokeMethodAsStream SetProperty SetProperty1


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.