+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
  1. #1
    Junior Member
    Using
    AutoCAD 2008
    Join Date
    Nov 2007
    Posts
    10

    Default WHY APPLICATIONS DESIGNED FOR AUTOCAD 2012 (VB.NET) do not work in AutoCAD 2013.

    Registered forum members do not see this ad.

    WHY APPLICATIONS DESIGNED FOR AUTOCAD 2012 (VB.NET) do not work in AutoCAD 2013.
    WHAT NEEDS TO CHANGE IN METHOD OF PROGRAMMING OR LOADING ?
    PROCEDURE:
    After running (Netload) and load dll file on the command line and entering executive command in AutoCAD, Command line WRITE (Unknown command).
    This procedure works normally in ACAD 2012.

  2. #2
    Super Member SEANT's Avatar
    Using
    AutoCAD 2012
    Join Date
    Aug 2005
    Location
    Rhode Island
    Posts
    1,968

    Default

    The project needs an additional reference set, some slight modification to the code, and re-compile to account for the new AcCoreMgd refactoring in AutoCAD 2013.

  3. #3
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,932

    Default

    Quote Originally Posted by SEANT View Post
    The project needs an additional reference set, some slight modification to the code, and re-compile to account for the new AcCoreMgd refactoring in AutoCAD 2013.
    1+

    This is turning out to be an intriguing thread on this topic: http://www.theswamp.org/index.php?topic=41602.0
    "Potential has a shelf life." - Margaret Atwood

  4. #4
    Forum Deity
    Using
    Civil 3D 2013
    Join Date
    Dec 2005
    Location
    GEELONG AUSTRALIA
    Posts
    3,780

    Default

    Our new 2013 turned up our 3rd party software supliers frantically made their stuff work done in .NET, but we had to wait just got a version today, thats why I have ported back to V-lisp instead of VBA.

    Apart from a extra line for the new AEcc object version all code works 11 12 13 14 ?
    A man who never made mistakes never made anything

  5. #5
    Junior Member
    Using
    AutoCAD 2008
    Join Date
    Nov 2007
    Posts
    10

    Default Thanks to all for help !

    Thanks to all for help !

  6. #6
    Super Member Bill Tillman's Avatar
    Using
    AutoCAD 2013
    Join Date
    Oct 2008
    Location
    Miami, FL
    Posts
    870

    Default

    This is indeed some new information in a timely manner. I just purchased a copy of AC 2013 (Standard with Design Suite) and installed VB 2010 Express. The new projects I'm about to start are going to be done in .NET.

    I'm having trouble finding up to date tutorials on using this mix. Much of the VB code and articles I come across are not compatible with VB 2010 Express. Does anyone know of a good source for this kind of info. I have searched Amazon and other websites, but haven't found anything yet which is up to date.
    It's deja vu, all over again.

  7. #7
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,932

    Default

    You just happened to [unknowingly] purchase the first version of AutoCAD that has the Core Console assembly split out from the Acad.exe build. As I understand it, this shouldn't present much of an issue for you specifically, given that you're just delving into .NET in general (there's enough of a learning curve just doing that!), but for those who already have .NET assembly libraries, there are supposed to be new(-er?) Extension Methods that allow for the Classes that have been moved to a new Namespace, to continue to function properly, so long as the new Core Console assembly has been added as a reference to the solution.

    In any event, welcome to the world of .NET, Bill!

    FWIW -

    http://www.cadtutor.net/forum/showth...l=1#post476715

    "Potential has a shelf life." - Margaret Atwood

  8. #8
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,932

    Default

    Also, as I see you've posted similar question(s) in other forums, the book I am currently reading is Andrew Troelsen's "Pro C# 2010 and the .NET 4 Platform."

    Another highly recommended book is "Design Patterns: Elements of Reusable Object-Oriented Software" by the Gang of Four (aka GOF).

    HTH
    "Potential has a shelf life." - Margaret Atwood

  9. #9
    Super Member Bill Tillman's Avatar
    Using
    AutoCAD 2013
    Join Date
    Oct 2008
    Location
    Miami, FL
    Posts
    870

    Default

    Thanks Renderman,

    I haven't programmed professional in C++ in a long time and even then I usually only did small utilities for my own use. The task now involves making a user interface....YUK! I hate writing user-friendly software. It seems no matter how user-friendly you make the interface, the users find a way to complain that it's not friendly enough. Years ago I wrote a program in BASICA on an old Compaq portable computer...you remember this was like the first laptop but it was as big as a suitcase. The program did linear optimization for cutting up stock lengths of aluminum extrusions. The meat of the code was only about 1/2 of an "A" size piece of paper....the other 7 pages of code was to make it so the user's knew what to do at the 3rd blinking cursor....

    I would prefer to do this project with VB 2010 Express....why? Because I'm a cheap, lazy hack with little to no money in my budget to buy a new copy of Visual Studio. However, the bosses here say they will buy me whatever I need, case in point, they just purchased AC2013 for me. Still, I know they want me to keep the costs down to a minimum and I feel I can do all this using VB instead of C# or F# or B-flat....! We do want to stick with the .NET method as VBA and VB for AutoCAD are on the wane as far as support goes.
    It's deja vu, all over again.

  10. #10
    Forum Deity BlackBox's Avatar
    Using
    Civil 3D 2011
    Join Date
    Nov 2009
    Posts
    3,932

    Default

    Registered forum members do not see this ad.

    Bill, I have a friend that I'd like you to meet... Windows Presentation Foundation (WPF), meet Bill.

    Sounds like the two of you are meant to work with one another, you both want creating an intuitive user interface to be simpler, faster, and allow the code behind (the meat of the app) to perform to it's full potential.

    In short, WPF uses Extensible Application Markup Language (XAML, a derivative of XML) to separate the interface from the code behind, effectively making applications better looking, and performing at the same time.

    ct_vbnet.2010.wpf.apps.jpg

    Note - I would not suggest using WPF applications (within AutoCAD) unless compiling to .NET 4 (or higher), as 3.5 requires that System.Xaml be removed as a reference (effectively limiting features, etc.).

    ct_vbnet.2010.wpf.system.xaml.png

    In addition to Hosting WPF User Control Inside an AutoCAD Tool Palette, I am also a fan of WPF Browser Applications for the simplicity, and ease of maintaining the application across my region's offices... I mainly use the WPF Browser Application as a 'reference utility' for quick access to design criteria, forms, documentation, etc. for users.

    Case in point -

    ct_vbnet.2010.wpf.too.palette.awesome.png

    ct_vbnet.2010.wpf.too.palette.developer.png

    Hey, if you ever have an opening (part-time, full-time, etc.), or need some collaborative help on your projects... Let me know.

    "Potential has a shelf life." - Margaret Atwood

Similar Threads

  1. Migrating content center from AutoCAD Mechanical 2012 to 2013
    By NoelStalker in forum CAD Management
    Replies: 1
    Last Post: 9th May 2012, 06:49 pm
  2. Title Block template for AutoCad 2012 to work with Quickpen PD3D
    By DILLIGAF-NE1 in forum AutoCAD Drawing Management & Output
    Replies: 0
    Last Post: 30th Jun 2011, 06:15 pm
  3. Bon Jovi's The Circle Tour Stage Designed Using AutoCAD and 3ds Max Design
    By Between the Lines in forum AutoCAD RSS Feeds
    Replies: 0
    Last Post: 29th Jan 2011, 06:00 pm
  4. Import designed stamp from autocad into msword
    By naghshe in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 5
    Last Post: 1st Jan 2011, 10:05 am
  5. AutoCAD Architecture Designed Buildings
    By Between the Lines in forum AutoCAD RSS Feeds
    Replies: 0
    Last Post: 20th Oct 2009, 11:50 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts