muck Posted April 24, 2012 Share Posted April 24, 2012 When I try to install ObjectARX wizzard for autocad 2012 (64 bit) I get VS 2008 or VS2010 must be present on target machine. VS 2008 is installed on my machine. So what is the problem here? Thank you, Quote Link to comment Share on other sites More sharing options...
BlackBox Posted April 24, 2012 Share Posted April 24, 2012 After downloading the installer, did you 'unblock' the file before installing? If not, Right Click, select Properties option, then hit the Unblock button. Hit Ok. Try installing again. HTH Quote Link to comment Share on other sites More sharing options...
muck Posted April 25, 2012 Author Share Posted April 25, 2012 I unblocked the file I had on my mahine and it still did not work? Seems like I am having all kinds of problems getting VB.net to work with 64 bit AutoCAD 2012? AutoCAD VBA for 2012 (64bit) does not work. Seems like AutoDesk has taken a big step backwards on their new products. Quote Link to comment Share on other sites More sharing options...
Michaels Posted December 10, 2013 Share Posted December 10, 2013 Hello , I am sorry to revive the thread but I faced the same problem . Quote Link to comment Share on other sites More sharing options...
BlackBox Posted December 10, 2013 Share Posted December 10, 2013 What Visual Studio do you have installed? What AutoCAD .NET Wizard did you attempt to install? Quote Link to comment Share on other sites More sharing options...
Michaels Posted December 10, 2013 Share Posted December 10, 2013 Hello BlackBox . Thank you so much for your reply and trying to help me with this . What Visual Studio do you have installed?What AutoCAD .NET Wizard did you attempt to install? This is the Program that I installed with the Dot.Net Wizard Quote Link to comment Share on other sites More sharing options...
dbroada Posted December 10, 2013 Share Posted December 10, 2013 I have jsut tried this myself and the Object ARX wizards would not download but the DotNet wizards did. I was downloading form this page http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=1911627 Quote Link to comment Share on other sites More sharing options...
BlackBox Posted December 10, 2013 Share Posted December 10, 2013 It really is unfortunate that it is this confusing for new developers... As I successfully downloaded and installed both Visual Studio 2012 Express (before it was deprecated for 2013) + AutoCAD .NET Wizards (2010-2012 + 2014) earlier this year... Guess that's why I frequently see the recommendation to spend a year learning to develop .NET for Windows (outside of AutoCAD) before jumping into AutoCAD .NET development. I would point out though, that the AutoCAD .NET Wizard is not at all necessary to develop for AutoCAD... Just handles a few convenience factors, really. You can still setup your own, custom templates. Quote Link to comment Share on other sites More sharing options...
Michaels Posted December 10, 2013 Share Posted December 10, 2013 Thank you guys for time and replies . OMG I have installed the .NET Wizard after restarting my computer . and it is fine now Now where can I find these templates and how to use them ? Another question please , how to connect Visual Studio with Autocad ? Please bear with me guys . Many many thanks . Quote Link to comment Share on other sites More sharing options...
BlackBox Posted December 10, 2013 Share Posted December 10, 2013 OMG I have installed the .NET Wizard after restarting my computer . and it is fine now Sorry - I assumed that you had already tried that, following the installation of Visual Studio. Now where can I find these templates and how to use them ? Launch Visual Studio, and select the desired language, etc.: Another question please , how to connect Visual Studio with Autocad ? I believe you mean 'debug'... This is one of those convenience factors the Wizard provides, as Express OOTB does not support a Startup Application, etc. within the application, whilst one can still manually configure this. In any event, one way to debug is to hit the play button, another is to right click the desired project (solutions can have multiple nested projects), and then select Debug, Start New Instance. HTH Quote Link to comment Share on other sites More sharing options...
Michaels Posted December 11, 2013 Share Posted December 11, 2013 I believe you mean 'debug'... Hi. Not debug for example when you write a code in VB.net how can you load it in Autocad ? and what is the extension of the VB.net that Autocad can load to run the code ? Many thanks for your replies BlackBox Quote Link to comment Share on other sites More sharing options...
dbroada Posted December 11, 2013 Share Posted December 11, 2013 I have forgotten all I learned but as BB won't be here 'till after the US wakes up I'll try to remember. When you press play a dll will be created and AutoCAD will start. The dll has to be NETLOADed into AutoCAD. Once that has loaded you can type the command name and it will run. Add breakpoints into your code and you can step through. Note however, you can't make (many?) changes to the code. If your change requires recompiling of the dll you have to exit AutoCAD to ensure the dll gets removed from memory. You cannot APPLOAD the same dll. Quote Link to comment Share on other sites More sharing options...
SEANT Posted December 11, 2013 Share Posted December 11, 2013 Note however, you can't make (many?) changes to the code. To expand on this statement a bit: Visual Studio offers an "Edit and Continue" feature that does allow some code modification whilst debugging. The caveat, however, is that it only works with 32 bit installs. Quote Link to comment Share on other sites More sharing options...
dbroada Posted December 11, 2013 Share Posted December 11, 2013 To expand on this statement a bit: Visual Studio offers an "Edit and Continue" feature that does allow some code modification whilst debugging. The caveat, however, is that it only works with 32 bit installs. just when I get my 64 bit machine. Thank you, I didn't know that but must have been vaguely aware when I was only using 32 bits. Quote Link to comment Share on other sites More sharing options...
SEANT Posted December 11, 2013 Share Posted December 11, 2013 I have two development setups: A two monitor, 64 bit tower. and 12" 32 bit laptop with SSD. Even though the laptop is capable of speedier development overall, I almost always use the desktop. I must be getting claustrophobic, or mildly blind, because the expanded real estate is more important. I've grown accustom to Edit and Continue's absence; it forces more attention on early code renditions. Quote Link to comment Share on other sites More sharing options...
BlackBox Posted December 11, 2013 Share Posted December 11, 2013 Dbroada, and Seant have pretty much covered it ... The only thing I can add at this point, is that since the OP's just starting out developing .NET for AutoCAD, this may be of use: My First AutoCAD Plug-in Training HTH Quote Link to comment Share on other sites More sharing options...
Michaels Posted December 11, 2013 Share Posted December 11, 2013 Dbroada, and Seant have pretty much covered it ... The only thing I can add at this point, is that since the OP's just starting out developing .NET for AutoCAD, this may be of use: My First AutoCAD Plug-in Training HTH That's really great BlackBox . Thank you guys for the support . Quote Link to comment Share on other sites More sharing options...
BlackBox Posted December 11, 2013 Share Posted December 11, 2013 That's really great BlackBox . Thank you guys for the support . That is kind of you to say, Michaels; we're happy to help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.