AutoCAD .NET :: Debugging ARX Application
Jul 31, 2012
I’m unable to debug my arx. For context, I'm on Windows 7-32bit; Visual Studio 2008 SP1 and 2010 SP1 are both installed.
I modified the project file (.vcxproj) by adding
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>:
<PropertyGroup Label="Globals"> <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> </PropertyGroup>
inside the <PropertyGroup Label="Globals"> node. I switched Platform Toolset from v100 to v90.
Then I launched AutoCAD 2012, loaded my arx solution in VS2010 and from the Tools menu, Attach to Process… I tried to select Attach to Managed v3.5 but it does not exist! All I see is Managed (v2.0, v1.1, v1.0) code or Managed (v4.0) code.
Am I the only one having this much fun with debugging? After sifting the internet I found no similar issues.
View 1 Replies
ADVERTISEMENT
May 6, 2013
I'm using visual studio 2010 and autocad 2012 x64. When I make (visual) changes to a form in the editor between debugging, for example the width of the form, the changes aren't visible on next debugging, it's still the same width as it was before. Same thing for font size, when changed the changes are not showing when debugging again. Almost seems like autocad remebers the previous layout of the form. A new control added between debugging shows up fine.
View 2 Replies
View Related
Jul 15, 2012
Converting my apps from .NET 35 to .NET 40 was not too painful except for the debugging speed! Why is AutoCAD 2013 so slow....
Should I be building my apps on a 32bit box and then do the final build on a 64bit box?
View 1 Replies
View Related
Nov 27, 2013
I tried a lot of sample (mostly from spidernet) using EntityJig. My problem is always the same: I can't walk through "protected override SamplerStatus Sampler" method by single step debugging. If a Break Point inside this overritten method is reached, a new tab "No source available" is shown and debugging stops.
AutoCAD 2013, Visual Studio 2013, c#
Same with protected override bool Update().
View 1 Replies
View Related
Oct 8, 2012
I am moving from VBA to VS2010/12 and I am having my first problem
Firstly, I read that I should install AutoCad 2013 DoNet Wizard to be able to compile and debug my code. After install it I managed to "debug" when I set the brakepoint but I couldn't change the code while debugging...
I did a fast search in this forum and I found some similar issues but they where old posts (before C3D2012 and VS2012). So, is it possible now to edit code while debugging as I was able to do in VBA? This will save me a lot of time. Mostly in my case once I'll make a lot of beginner mistakes...
In some post I found that we should install a virtual machine and run in 32bits mode to be able to edit. This is the best solution?
View 2 Replies
View Related
Dec 13, 2013
When I place a breakpoint inside a Windows form i get the message "No Source Available" from Visual Studio.
I'm using Application.ShowModalDialog(..) to launch the dialog.
How can people develop code without being able to debug? This has been an issue for some versions now and the NEXTFIBERWORLD=0 is not a solution for me since the whole AddIn acts strange when i do that. All I find when searching for this is the NEXTFIBERWORLD trick.
View 5 Replies
View Related
Jun 20, 2011
I cannot debug an addin for Inventor 2012 from Visual Studio 2010 professional on Win7 64.
I started with a new “Autodesk Inventor Addin” project
Set debug “Start external program” to inventor
Added a form and called it from StandardAddInServer.Activate sub
IF I debug from here inventor starts but form does not open. Addin not loaded.
Move *.addin file to Inventor addins
Now when running debug, form opens but breakpoints do not work. VS reports no errors on build.
View 9 Replies
View Related
Feb 9, 2012
When running VS 2010 express in debug mode, for either AutoCAD 2010 or 2012, 64 bit, AutoCAD gets slower and slower loading with each subsequent debug session until it becomes intolerable. A system restart is necessary. Is this normal? I see this on a fast machine with tons of ram. During the waits there are patches of white screen in the various AutoCAD interface components. The performance hit is exponential with each session. The first debug is normal, The second is slightly slower. The third is noticeably slower and so on.
View 3 Replies
View Related
Nov 18, 2013
I am incurring a fatal error while i am running a plugin i have developed in .NET. I am using AutoCAD 2012 and .NET 4.0. Where the fatal error occurs is when i am filtering a list for specific colors and specific linetypes to populate a listbox with. I did a quite a bit of reading and the only thing i have found is ( in debug compiler is giving a little more memory space for said collection and when i run it in outside of debug it is not. ) Now i dont really understand how to fix this issue or can verify that it really is the issue. is there some type of setting i can change inside of autocad for debugging so it doesn't completely shut down?
View 6 Replies
View Related
Jul 14, 2011
Dev env: AutoCAD 2012, VS 2010, ObjectARX.Net 2012
A simple windows form command dll to test within the VS2012 + AutoCAD 2012
Bug: when debugging with VS2012, the first command runs fine and I can debug it with breakpoints etc etc. However, after the first debugging session, if I try "File"->"Open" or "New", file dialog will popup and then my AutoCAD 2012 crashs.
It won't happen if I compiled the dll, and load directly from AutoCAD independantly running instance.
View 2 Replies
View Related
Oct 20, 2012
Since my Windows-7 PC went to the shop for a clean up following some suspect virus my CS5 Photoshop seem to have some components missing. I can get into CS5 (I had upgraded from CS3 earlier in the year and now I can't get into CS3 even though the icon is still there.) and upload a photo and use the basic tools but I can't use a lot of the ACTIONS: i.e. I get error messages like The command "Feather" is currently not available or "The command Channel Mixer is currently not available"
View 21 Replies
View Related
Nov 24, 2013
How do I re-install a corrupted Photoshop CC app when the Desk Top CC shows the app as "up to date"?
View 2 Replies
View Related
Sep 3, 2012
I bought Adobe Photoshop Elements 9 but get the following alert: "Some of the application components are missing from the Application directory, Please reinstall the application." Can it be reinstalled? It is not available under "History" and none of the available installs appear to be for Mac OS X (Version 10.7.4). S
View 2 Replies
View Related
Mar 19, 2014
I have PSE9 and a macbook pro 10.9. I lost the original DVD that came with my purchase of PSE. Some files must have gotten corrupted because I can't open the program without reintalling. It says, "Some of the application components are missing from the application directory. Please reinstall the application." I have the serial number and all and I registered the product. Is there somewhere I can download a new copy to install?
View 7 Replies
View Related
Nov 5, 2012
at photoshop cs6 extended downloaded in july, i now get the following message: "some of the application components are missing from the application directory. please reinstall the application."
View 2 Replies
View Related
Jan 7, 2013
I am using a dllimport from accore.dll, but the entry point for the method in the dll differs between 32-bit and 64-bit version of AutoCAD. How can I check whether the AutoCAD application is a 32- or 64-bit version, i.e. the dll is 32- or 64-bit?
View 7 Replies
View Related
Aug 18, 2011
I have .Net Framework 3.5 and AutoCAD2010. but my WPF applicatin do not start. I can do prog by .dll , but don't know how about WPF in AutoCAD.
What should I do ?
View 3 Replies
View Related
Jun 1, 2010
I have a Visual Basic 6.0 Project , to manage CAD Data I want to open a file in Autocad
1) in VB6 , I add Project / Reference / Autocad 2006 Type Library
2) I use following code (see below) , to select application , start Autocad if not already started , open File
3) I compile Mycode : MyCADProject.exe
=> start MyCADProject.exe , I select a DWG file and I can open the file in Autocad 2006 : OK
Problem , I have new PC one with Autocad 2010, one with Autocad 2009 (all other PC are with Autocad 2006) in My VB6 Project 1) I can not sellect both library "Autocad 2006 Type Library" and "Autocad 2007 Type Library" => I get a Windows error Message "Librairie déja utilisée" 2) If I select only one Library , this run well for one version of Autocad , but not fot the other version ! I want to manage only one version of MyCADProject.exe
Is is possible to run a VB6 project with different version of Autocad ?
Dim Acadapp As AcadApplication
On Error Resume Next
Set Acadapp = GetObject(, "AutoCAD.Application")
If Err.Number <> 0 Then
On Error GoTo 0
Set Acadapp = CreateObject("AutoCAD.Application")
End If
Acadapp.Documents.Open (Myfile)
Acadapp.Visible = True
View 4 Replies
View Related
Aug 29, 2011
Is this possible, create a .Net 3.5 Dll(A.dll), reference to Oracle 11g 32 bit client Oracle.DataAccess.dll. this dll will be used in another dll(B.dll), which load in AutoCAD 64 bit application. 32 bit version of AutoCAD is not allowed to install on Windows 7 64 bit. Right now I set my B.dll as 'Any CPU', and A.dll as 'Any CPU' as well. Do I have to use 64 bit oracle client in my A.dll?
View 1 Replies
View Related
May 10, 2013
I need to get all Autocad applications objects, not only active one.
I'm writing a program which is checking if XREFS attached to current drawing are not opened in another Autocad instance.
Normaly I can get document collection as follow:
Dim docCol As DocumentCollection = Application.DocumentManager
Is there a way to get an Application object from another Autocad process (acad.exe)?
I wonder if there is something like this:
Spoiler (Highlight to read)Spoiler (Highlight to read)Dim app As Application = GetApplicationFromProcess()
View 1 Replies
View Related
Dec 20, 2009
Since acdbmng.dll and acmng.dll are not in the GAC, the fact that I can install my ARX.net dll on any folder is because it will run on the same application domain as Autocad, where acdbmng.dll and acmng.dll are loaded at Autocad startup. Right?
View 6 Replies
View Related
Nov 5, 2012
I currently have a Windows VB.net app that uses COM to open/save/close and manipulate drawings in AutoCAD..Here's how I open a drawing
AutoCAD_CurrentDwg = AutoCAD_Instance.Documents.Open(strAutoCADFilePath)
I work with various blocks and their attributes like so
Dim AutoCAD_Block_Attributes As Object = AutoCAD_Block_Reference.GetAttributesFor Each Me.AutoCAD_Block_Attribute In AutoCAD_Block_AttributesDim strAutoCAD_Block_Attribute_TagString As String = AutoCAD_Block_Attribute.TagStringAutoCAD_Block_Attribute.TextString = strSomeDB_Value
As I mentioned, this runs external to AutoCAD but I was wondering if it would be beneficial to re-write the app to run within AutoCAD... also, I believe that COM is "obsolete"? I think that my app could be revised to run inside AutoCAD via NETLOAD, using ObjectARX? One concern I have is that my app right now works with many versions of AutoCAD, not need to re-issue because my DIM statements are generic...
Private AutoCAD_Instance As Object Private AutoCAD_CurrentDwg As ObjectPrivate AutoCAD_Document As Object
View 4 Replies
View Related
Aug 7, 2013
I have made the .NET application with class library which provide us Application DLL file which will used to do our customization.
Once I have loaded my DLL and after that if I make change any thing in the Code and than I rebuilt it, I am getting the following error message:
Error 15 Unable to copy file "objReleaseSemiAuto.dll" to "binReleaseTest.dll".
The process cannot access the file 'binReleaseTest.dll' because it is being used by another process.
Error 14 Could not copy "objReleaseTest.dll" to "binReleaseTest.dll". Exceeded retry count of 10. Failed. SemiAuto
View 1 Replies
View Related
Jul 1, 2011
when i start up Autodesk AutoCAD Architecture 2010 or 2011 (I tried both versions) I get the error message:acad.exe - Application error
The application could not be started correctly (0xc0150002)I searched the internet without any luck, many people have this problem with other programs, but nobody has a solution!
The funny thing is, it worked (2010) then suddenly it stopped working... I uninstalled and reinstalled 2010, didn't work, then I thought lets try the newest version, exactly the same error! Other programs work properly, also other Autodesk programs like Inventor 2008.
Windows is up to date
AutoCAD Architecture is up to date (SP1)
Installed the newest Graphic Driver
View 4 Replies
View Related
Jun 22, 2012
I am working on an application which uses an oracle database as backend. The application uses a login dialog in void IExtensionApplication.Initialize()
so my application knows the credentials for the oracle database. I use a drawing-template which has a database link in it. This points to a UDL-file in 'Data Links'. If i add the Credentials to this file and set the Parameter Persist Security Info=True the Credentials are ignored. So i thought i can avoid the additional loginprocesses if I add the following
var acadApp = (Autodesk.AutoCAD.Interop.AcadApplication)Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication;dynamic cao Connect = acadApp.GetInterfaceObject("CAO.DBConnect.16");cao Connect.Connect("myconnection.UDL", "username", "password", false);
If i don't execute the code above i need two logins for the new drawing. After I added the code to my application I still need one oft this.
View 1 Replies
View Related
Jul 27, 2012
I am trying to get the desktop path in an application I made to modify and save the parts list of an IDW. I find this code all over the interent and it looks exactly like what I need:
Path = My.computerComputer.FileSystem.SpecialDirectories.Desktop
However when I try to use it it's like the "My" system object isn't there. I'm quite sure it has somethign to do with VBA instead of the normal VB. How can I accomplish getting the current user's desktop path with inventor VBA?
View 2 Replies
View Related
Oct 7, 2011
I would like to open the autocad leaving invisible to the User.
I did it:
acadApplication = new ACAD.AcadApplication();
acadApplication.Visible = false;
But it did not work!
View 2 Replies
View Related
Jul 22, 2013
recently our Autocad LT 2013 has started giving out the "The application was unable to start correctly (0xc00007b)" error randomly on program launch. Thinking SP2 would fix it, i tried installing through autocad, but after it says transferring, nothing happens and everything closes and this box comes up. If I go and get the update package and install it manually, i get the same error. This machine is running windows 7 pro x64 and I have already tried a repair, and full uninstall/reinstall.
View 4 Replies
View Related
Mar 12, 2013
When I click Application Options it opens up, but the window doesn't show up, eveything else in the program gets disabled and I am able to hit Esc to get out of it.
View 2 Replies
View Related
Nov 2, 2011
I'm trying to manage a list of strings at the application level.
The list is to be created/updated/deleted by a command passed on any open drawing. The list is transient, doesn't survive the closing of AutoCAD.
I must have only one copy of this list for all documents, NOT one list per document, as described in [URL]
View 3 Replies
View Related
Jun 15, 2011
I've created a deployment for AutoCAD2011 x64 to be installed via SCCM. I've followed the instructions to create an SCCM package that were provided on the support website, as well as what comes on the CD. While I'm able to create the install and deliver the package, I get an error when trying to launch the shortcut (AutoCAD 2011 - English).
The error is a Microsoft .NET Framework error that states:"Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.Access to the path 'C:Program Files Autodesk AutoCAD 2011Migration' is denied.
I went to check on the folder security and realize that the Migration folder doesn't exist.
View 3 Replies
View Related