.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Connection VS with Autocad 2010

1 REPLY 1
Reply
Message 1 of 2
felix-maly
549 Views, 1 Reply

Connection VS with Autocad 2010

hello!

I'm writting a program in Visual Basic. But I don't know how I must connect ??

I start to add a reference to files:
acdbmgd.dll and acmgd.dll


then i write what I want to imports:

Imports Autodesk.AutoCAD.Runtime
Imports Autodesk.AutoCAD.ApplicationServices
Imports Autodesk.AutoCAD.Interop


I write them form here
https://discussion.autodesk.com/forums/message.jspa?messageID=6225607


but me VS 2008 Professjonal with SP 1 send me an error:
Warning 1 Namespace or type specified in the Imports 'Autodesk.AutoCAD.Interop' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. C:\Documents and Settings\Mały\Moje dokumenty\Studia\rok 5\semestr 10\dyplom\program\Projekt\Dyplom\Dyplom\formOkno_3_3_p.vb 7 9 Dyplom

So what I must do add now or where I do mistake??

I use:
Autocad 2010 for students
I instelled ObjectARX and Visual Basic for Autocad 2010 Edited by: felix-maly on May 31, 2010 5:07 PM
1 REPLY 1
Message 2 of 2
Hallex
in reply to: felix-maly

Add reference to acmgdinternal.dll for Interop

~'J'~
_____________________________________
C6309D9E0751D165D0934D0621DFF27919

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost