AutoCAD 2005: The Pros and Cons of VB.NET ???

AutoCAD 2005: The Pros and Cons of VB.NET ???

Anonymous
Not applicable
374 Views
5 Replies
Message 1 of 6

AutoCAD 2005: The Pros and Cons of VB.NET ???

Anonymous
Not applicable
I've only spent about 15min looking at it, but it looks quite interesting. On the plus side: 1) It looks like you can add commands in the VB code, whereas right now you have to have a LISP function to load and run the macro. 2) It looks like the code is compiled into a DLL, loaded with the NETLOAD command. A) Is this truly compiled or still an interpreted code? B) Is the code as protected as a normal DLL. Right now anyone with a brower and 15min can unprotect a DVB. On the minus side: 1) I know there will be a slight learning curve because of the .NET changes, we're faced with those eventually anyway. 2) For people who develop for a living, it will take a while before the *vast majority* have a 2005 (or higher) product to run .NET code on. Corporate developers and CAD Managers would be ready to go as soon as their group goes 2005. 3) Do the DLL's have to be registered by an install/regsvr32 when ported to another station? I know its early, but does anyone else have any thoughts, plus & minuses, as to what this might hold in store? Thanks in advance. Terry
0 Likes
375 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
I take it that AutoDesk went to .NET for VBA in A2005? Will the old .dvb files still run or will there be a need for work don on them? "Terry W. Dotson" wrote in message news:4058C08B.B75FACD1@dotsoft.com... I've only spent about 15min looking at it, but it looks quite interesting. On the plus side: 1) It looks like you can add commands in the VB code, whereas right now you have to have a LISP function to load and run the macro. 2) It looks like the code is compiled into a DLL, loaded with the NETLOAD command. A) Is this truly compiled or still an interpreted code? B) Is the code as protected as a normal DLL. Right now anyone with a brower and 15min can unprotect a DVB. On the minus side: 1) I know there will be a slight learning curve because of the .NET changes, we're faced with those eventually anyway. 2) For people who develop for a living, it will take a while before the *vast majority* have a 2005 (or higher) product to run .NET code on. Corporate developers and CAD Managers would be ready to go as soon as their group goes 2005. 3) Do the DLL's have to be registered by an install/regsvr32 when ported to another station? I know its early, but does anyone else have any thoughts, plus & minuses, as to what this might hold in store? Thanks in advance. Terry
0 Likes
Message 3 of 6

Anonymous
Not applicable
See my thoughts in-line below > 1) It looks like you can add commands in the VB code, whereas > right now you have to have a LISP function to load and > run the macro. Adding commands is very very easy with .NET > 2) It looks like the code is compiled into a DLL, loaded with > the NETLOAD command. > > A) Is this truly compiled or still an interpreted code? > > B) Is the code as protected as a normal DLL. Right now anyone > with a brower and 15min can unprotect a DVB. All .NET code is compiled to Microsoft Intermediate Language (MSIL) code. This IL code is compiled to x86 instructions at runtime, but only on an as needed basis. If you never run a particular method, then that method is never compiled. And once a method is compiled, the x86 instructions are saved and reused each time that method is called for the duration of the application. You can create and distribute a native compiled image of your application if you so desire. All .NET assemblies can be disassembled and your MSIL code can be viewed by anyone with the freely downloadable .NET SDK. If this is truly a concern, there are obfuscators available. > 3) Do the DLL's have to be registered by an install/regsvr32 > when ported to another station? No, unless you are installing an assembly into the global assembly cache. It is entirely possible to simply XCOPY an application onto a machine if you design it properly. In fact, this is the recommended way to create .NET apps. If you want to expose your .NET app as an ActiveX server, then you will have to register those interfaces in the registry. > I know its early, but does anyone else have any thoughts, plus & > minuses, as to what this might hold in store? In short .NET is going to give you much of the power of C++ combined with the ease of VB and much much more. That's my 0.02 for the day. -- Bobby C. Jones
0 Likes
Message 4 of 6

Anonymous
Not applicable
Microsoft has not released a .NET version of VBA.

Regards - Nathan
0 Likes
Message 5 of 6

Anonymous
Not applicable
> "David M. Gardner" wrote: > I take it that AutoDesk went to .NET for VBA in A2005? No, the VBA is "6.3". What I'm talking about requires Visual Studio.net to compile. Terry
0 Likes
Message 6 of 6

Anonymous
Not applicable
> "David M. Gardner" wrote: > Will the old .dvb files still run or will > there be a need for work don on them? Old DVB's still work fine. Terry
0 Likes