.NET

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

converting app

70 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 (70 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 (70 Views)

Re: converting app

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

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.