COMGetObject()
syntax: |
COMGetObject(file,COMObject) |
where: |
file - the file hosting the COM object.
COMObject - the name of a COM object. Refer to the documentation for particular applications to get the names that may be used.
|
return: |
object - an instance of the specified COM object.
|
description: |
Create an instance of a COM object to be used in a script. Unlinke COMCreateObject(), COMGetObject does get or connect to an existing instance of a COM object in another application.
|
see: |
#link <comobj>, COM object, COMCreateObject, COMReleaseObject
|