.NET

Reply
Active Member
moabiker31
Posts: 10
Registered: ‎03-08-2006
Message 1 of 3 (66 Views)

converting app

66 Views, 2 Replies
03-10-2006 09:04 AM
We’re converting a VB 6 application to VB.net. The app returns blocks and layers from AutoCAD versions 2002-2006 and sends commands to Autocad. The files are opened by starting an acadapp and then using dbx documents. I’m new to AutoCAD (I didn’t write the existing vb6 app) so I’ve been reading this discussion forum to try and get an understanding of how to get started. I have been able to open drawings to retrieve block and layer information using interops, but I question if that’s the best way. I’ve also read a little about getting the information from the database, is that a better? Now that the app is being re-written, what is the best way to do it in VB.net, using interops, database, or another way? I’ve searched for books too but haven’t found one on creating a vb.net app that communicates with AutoCAD, does anyone have any suggestions? Thanks.
*Bobby C. Jones
Message 2 of 3 (66 Views)

Re: converting app

03-10-2006 09:30 AM in reply to: moabiker31
Considering your need to support versions older than 2005, COM Interop is
your only choice for VB.NET. AutoCAD 2005 was the first version sporting a
.NET API.
--
Bobby C. Jones
http://www.acadx.com


wrote in message news:5107730@discussion.autodesk.com...
We're converting a VB 6 application to VB.net. The app returns blocks and
layers from AutoCAD versions 2002-2006 and sends commands to Autocad. The
files are opened by starting an acadapp and then using dbx documents. I'm
new to AutoCAD (I didn't write the existing vb6 app) so I've been reading
this discussion forum to try and get an understanding of how to get started.
I have been able to open drawings to retrieve block and layer information
using interops, but I question if that's the best way. I've also read a
little about getting the information from the database, is that a better?
Now that the app is being re-written, what is the best way to do it in
VB.net, using interops, database, or another way? I've searched for books
too but haven't found one on creating a vb.net app that communicates with
AutoCAD, does anyone have any suggestions? Thanks.
Active Member
moabiker31
Posts: 10
Registered: ‎03-08-2006
Message 3 of 3 (66 Views)

Re: converting app

03-10-2006 11:06 AM in reply to: moabiker31
Thanks for the quick reply Bobby.

You are not logged in.

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

Announcements
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