Posted on 2004-09-29
I am trying to use an Activex object in my application.
The VB sample coming with the object works properly opening an Application and a Document; the sample sounds like this:
Dim App, Data, pathToDoc
Set App = GetObject(, "XXXXX.Application")
pathToDoc = App.GetActiveDocPath
If pathToDoc="" Then 'if no data file exists
Set Data = GetObject(pathToDoc) '..where pathToDoc is the full name of the Document referenced by the object
And I get full controll over the Data object
I don't know how to code in Delphi
Set Data = GetObject(pathToDoc)
Can anyone help me?