Maptitude GISDK Help

CreateCOMObject()

Summary

Creates a new instance of a COMObject.

 

Changes

Added to Version 5.0.

Syntax

comobject = CreateCOMObject(string progid, array options)

 

Argument Contents
progid The name of the COM object

 

Returns

A COMObject.

 

Notes

Example

excObj = CreateCOMObject("Excel.Application", )

 

Error Codes

Error Meaning
Not found Unable to create the object

 

See Also

Function Summary
CloseCOMControl() Closes the window containing the COM control
CreateCOMControl() Creates a new COM control window
GetCOMCollectionObjects() Gets the COM objects in a COM collection
GetCOMControlObject() Gets the COM interface of a COM control window
GetCOMInterfaceName() Gets the name of the COM interface for an object from the type library
GetCOMObject() Gets the currently active instance of a COMObject

 

 

©2025 Caliper Corporation www.caliper.com