.NET

Reply
Contributor
martinduke2653
Posts: 19
Registered: ‎12-04-2005
Message 1 of 2 (69 Views)

New User Question VB vs .NET

69 Views, 1 Replies
04-12-2006 05:09 AM
Hello All,

This may seem like a trivial question to most of you but it is a topic that is vexing me considerably. I have a fairly large application which is written in VB 6. The application is split across several .dll files and a .exe. one of the dll files is responsible for the drawing side of the application. because it is using VB it communicates rather slowly with AutoCAD, so slow in fact that the speed factor threatens the usability of the software. To put it in perspective sometimes it will have to draw 100000+ entities, and the time taken can be over half an hour.

If I port the application over to VB .NET will I get the same sort of performance that you get with ARX, and if I use .NET will I have at my disposal some of the features that are not available in VB such as cursor tracking (grread). any comments would be appreciated.


Kind Regards

Martin Duke
*Tony Tanzillo
Message 2 of 2 (69 Views)

Re: New User Question VB vs .NET

04-12-2006 08:19 AM in reply to: martinduke2653
You can improve the performance of any code, regardless of what
language it's developed with, by making it a DLL that is loaded into
AutoCAD's process space.

With .NET applications that use the managed ObjectARX API, you
don't have a choice, it must be a DLL that's loaded with NETLOAD.

With VB you can still get the performance gain by loading your
DLL into AutoCAD using the GetInterfaceObject() method of the
AcadApplication class.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com

wrote in message news:5140108@discussion.autodesk.com...
Hello All,

This may seem like a trivial question to most of you but it is a topic that is vexing me considerably. I have a fairly large application which is written in VB 6. The application is split across several .dll files and a .exe. one of the dll files is responsible for the drawing side of the application. because it is using VB it communicates rather slowly with AutoCAD, so slow in fact that the speed factor threatens the usability of the software. To put it in perspective sometimes it will have to draw 100000+ entities, and the time taken can be over half an hour.

If I port the application over to VB .NET will I get the same sort of performance that you get with ARX, and if I use .NET will I have at my disposal some of the features that are not available in VB such as cursor tracking (grread). any comments would be appreciated.


Kind Regards

Martin Duke
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 or visit the Installation and Licensing Forum to get help installing your software.