OLEObject.Constructor(ProgramID as String)

From Xojo Documentation

Revision as of 17:25, 5 July 2011 by Dbrandt (talk | contribs) (added constructor)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Constructor


OLEObject.Constructor(ProgramID as String)

Creates a new OLEObject using the passed ProgramID is the COM server’s program ID as stored in the registry. It can also be the Class ID (in curly braces). This constructor will try to find a previous instance of the COM server if it is running. Otherwise, it will create a new instance.