• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    *Dave

    Quick question on .NET

    55 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
    Please use plain text.
    *J. Daniel Smith

    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
    Please use plain text.
    *Tim Riley

    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
    Please use plain text.