GetCOMInterfaceName()

Summary

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

Changes

Added to Version 5.0.

Syntax

interface_name = GetCOMInterfaceName(comobject my_object)

Argument Contents
my_object A COM object

Returns

A string with the name of the COM interface.

Notes

Example

excel = CreateComObject("Excel.Application")
interface_name = GetComInterfaceName(excel)
showmessage("The Excel Application interface is named " + interface_name)
CreateCOMObject()
Function Summary
CreateCOMControl() Creates a new COM control window
CreateCOMObject() Creates a new instance of a COMObject
GetCOMCollectionObjects() Gets the COM objects in a COM collection
GetCOMControlObject() Gets the COM interface of a COM control window
GetCOMObject() Gets the currently active instance of a COMObject