.NET

Reply
*Dave
Message 1 of 3 (58 Views)

Quick question on .NET

58 Views, 2 Replies
05-04-2006 08:47 AM
We have been compiling or C++ projects using:


Visual Studio 6 for ACAD 2000 - 2002
2002 .NET for ACAD 2004 - 2006
2005 .NET for ACAD 2007


We have quite a bit of VB code in Visual Basic 6 and we are wanting to port
that code over to .NET also.

Can we use one version of .NET for all the ACAD versions? If so, which
version?

or

Must we also use the different versions of .NET for the new VB.NET build to
run on their prospective versions of ACAD?


Thanks a bunch,

Dave
*J. Daniel Smith
Message 2 of 3 (58 Views)

Re: Quick question on .NET

05-04-2006 09:25 AM in reply to: *Dave
Short answer: no. You must use the version of Visual Studio with which the
corresponding version of AutoCAD was built, as shown in your table.

However, VB6 interacts with AutoCAD through COM. In theory, you should be
able to use a single COM client (VB.NET/Visual Studio 2005) with all AutoCAD
COM servers--assuming you restrict yourself to common functionality (AutoCAD
2000 in your case). I haven't actually tried this, so there may be a lot of
pesky details between theory and practice.

Dan

"Dave" wrote in message
news:5163870@discussion.autodesk.com...
We have been compiling or C++ projects using:


Visual Studio 6 for ACAD 2000 - 2002
2002 .NET for ACAD 2004 - 2006
2005 .NET for ACAD 2007


We have quite a bit of VB code in Visual Basic 6 and we are wanting to port
that code over to .NET also.

Can we use one version of .NET for all the ACAD versions? If so, which
version?

or

Must we also use the different versions of .NET for the new VB.NET build to
run on their prospective versions of ACAD?


Thanks a bunch,

Dave
*Tim Riley
Message 3 of 3 (58 Views)

Re: Quick question on .NET

05-04-2006 10:33 AM in reply to: *Dave
For .NET you don't need a certian version of Visual Studio to develop for a
certian release of AutoCAD. Heck one can use notepad.exe and csc.exe to
develop .NET addins for AutoCAD if they really wanted to. The only thing you
really can't do is compile a .dll under the .NET 2 runtime and try to run it
using the 1.1 runtime.
--
Regards,
Tim
http://www.theswamp.org/~tim/pyacaddotnet/


"J. Daniel Smith" wrote in message
news:5163973@discussion.autodesk.com...
Short answer: no. You must use the version of Visual Studio with which the
corresponding version of AutoCAD was built, as shown in your table.

However, VB6 interacts with AutoCAD through COM. In theory, you should be
able to use a single COM client (VB.NET/Visual Studio 2005) with all AutoCAD
COM servers--assuming you restrict yourself to common functionality (AutoCAD
2000 in your case). I haven't actually tried this, so there may be a lot of
pesky details between theory and practice.

Dan

"Dave" wrote in message
news:5163870@discussion.autodesk.com...
We have been compiling or C++ projects using:


Visual Studio 6 for ACAD 2000 - 2002
2002 .NET for ACAD 2004 - 2006
2005 .NET for ACAD 2007


We have quite a bit of VB code in Visual Basic 6 and we are wanting to port
that code over to .NET also.

Can we use one version of .NET for all the ACAD versions? If so, which
version?

or

Must we also use the different versions of .NET for the new VB.NET build to
run on their prospective versions of ACAD?


Thanks a bunch,

Dave

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