Navigation:  ThinBASIC Language > Data types and variables > iDispatch variables >

GetObject

Previous pageReturn to chapter overviewNext page

 

Description

 

Retrieve an Automation object (iDispatch object) when object is identified by a moniker.

This function assumes there is a current instance of the object.

 

Syntax

 

iDispatchVariable = GetObject(sMoniker)

 

Returns

 

iDispatch Variable

 

Parameters

 

Name

Type

Optional

Meaning

sProgId

String

No

Name on an external COM server

 

Remarks

 

Restrictions

 

See also

 

iDispatch, NewCom, GetCom, AnyCom, Nothing, IsComObject, IsComNothing.

 

Examples