Halo,
can anyone tell me what to do if there is open more than one instance of an OLE Server application eg two instances of AutoCad and I want to get a reference to one of them, but not just anyone. I want to choose one of the instances. Using the Getobject function I will get a hook just to a random instance.
eg: Set acadApp = GetObject(, "AutoCAD.Application"
Lets say now I get the name of the loaded document and decide its the wrong instance. What can I do to get a hool to the second instance?
Thanks in advance
Jacek
can anyone tell me what to do if there is open more than one instance of an OLE Server application eg two instances of AutoCad and I want to get a reference to one of them, but not just anyone. I want to choose one of the instances. Using the Getobject function I will get a hook just to a random instance.
eg: Set acadApp = GetObject(, "AutoCAD.Application"
Lets say now I get the name of the loaded document and decide its the wrong instance. What can I do to get a hool to the second instance?
Thanks in advance
Jacek