Message 1 of 3
Connecting to the existing ACAD instance
Not applicable
08-24-2005
10:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
'm trying to connect to the existing ACAD 2006 instance from a VB.net project using the com interop object.
I'm using the following code:
Dim myApp As AcadApplication
myApp = GetObject(, "Autocad.Application")
myApp.Visible = True
The code keeps returning a NEW instance of ACAD. I want to tap into the EXISTING instance.
Can someone tell me what's wrong?
thanks,
mark c.
Phoenix
I'm using the following code:
Dim myApp As AcadApplication
myApp = GetObject(, "Autocad.Application")
myApp.Visible = True
The code keeps returning a NEW instance of ACAD. I want to tap into the EXISTING instance.
Can someone tell me what's wrong?
thanks,
mark c.
Phoenix