Maptitude GISDK Help

GetCOMControlObject()

Summary

Gets the COM interface of a COM control window.

 

Changes

Added to Version 5.0.

 

Syntax

string = GetCOMControlObject(string name)

 

Argument

Contents

name

The name of the COM control window

 

Returns

A COMObject.

 

Notes

Example

name = CreateCOMControl("My Control", "Shell.Explorer", {

     {"Event Macro", "Explorer Event Macro"}})

explorer_object = GetCOMControlObject(name)

explorer_object.Navigate("http://www.caliper.com")

 

Error Codes

Error Type

Meaning

NotFound

A COM window was not found by that name

 

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

GetCOMObject()

Gets the currently active instance of a COMObject

GetCOMInterfaceName()

Gets the name of the COM interface for an object from the type library

 

 

©2025 Caliper Corporation www.caliper.com