Instantiates an object on the application server on which an application has been opened. Use CreateObject to instantiate server-side objects that you develop. For example, you can use CreateObject to instantiate server-side Application Components (ACMs).
To instantiate a server-side object without opening an application, use HsxClient.CreateObjectOnServer, which takes the application server name as an argument. For details, see CreateObjectOnServer. |
<HsvSession>.CreateObject(bstrClassIDOrProgID)
Object. CreateObject returns an instance of the object identified by the argument.
CreateObject is used in the example for the HsvStarSchemaACM method EnumRegisteredDSNs.