Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OLE Automation, two instances of an server application

Status
Not open for further replies.

Jaco

Programmer
Aug 29, 2000
57
PL
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top