Maptitude GISDK Help |
Gets the currently active instance of a COMObject.
Added to Version 5.0.
com_object = GetCOMObject(string progid, array options)
Argument |
Contents |
progid |
The name of the COM object |
A COMObject.
The options are as appropriate for the COM object, and can be null.
For more information on COM objects, see Accessing COM Objects.
excObj = GetCOMObject("Excel.Application", )
Error |
Meaning |
NotFound |
The specified progid is not registered, or no active objects of that type were found |
Function |
Summary |
Creates a new COM control window |
|
Creates a new instance of a COMObject |
|
Gets the COM objects in a COM collection |
|
Gets the COM interface of a COM control window |
|
Gets the name of the COM interface for an object from the type library |
©2025 Caliper Corporation | www.caliper.com |