Posts: 20
Registered: ‎02-16-2005
Message 1 of 3 (76 Views)

Connecting to the existing ACAD instance

76 Views, 2 Replies
08-24-2005 10:37 AM
'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?

mark c.
*Mike Tuersley
Message 2 of 3 (76 Views)

Re: Connecting to the existing ACAD instance

08-24-2005 01:26 PM in reply to: markc01

-- Mike
Mike Tuersley
the trick is to realize that there is no spoon...
Active Contributor
Posts: 27
Registered: ‎08-26-2005
Message 3 of 3 (76 Views)

Re: Connecting to the existing ACAD instance

08-29-2005 07:07 AM in reply to: markc01
what do you have to reference to make this work? I am totally new to AutoCAD and I can't get even this little launch code to work.


You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community