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.
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.
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.
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?
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.
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.
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?
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.
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"
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
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?
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."
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?
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
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?
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?
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
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
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.
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:
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?
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.
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.
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.