AutoCAD .NET :: Netload Does Not Load DLL
Dec 26, 2012
I'm having trouble with my command not loading via a netload in AutoCAD 2012 SP1 64bit running on Windows 7 64bit. It works on most of my user's computers, but on a couple of the computers it doesn't seem to be doing anything. I'm using Visual Studio 2010 for coding and debugging, but I don't have debugging software on the computer that is causing the problem. I've attached my commands class in it's entirety to this post. The dll resides local on the user's computer and is not in a network location. When I run the netload on the development machine or one of my other working users, I get the message boxes and the program seems to run fine, but on the computers that aren't working I get nothing. No errors, no message boxes, nothing.
View 9 Replies
ADVERTISEMENT
Jun 15, 2012
I've got a firm of about 60 architects and we use a custom dll that loads on drawing open. the dll loads fine on all but one computer. even explicitly issuing the netload command and grabbing the dll manually does not work. it also does not work on other profiles on that computer (i tried an admin profile, even though the user is a local admin).
we're using .NET 4.0 on ACAD 2011
View 9 Replies
View Related
Nov 25, 2011
i have a set of C# .net dlls (.net 3.5) which i used to load automatically in Autocad 2010. Everything was working perfectly but suddenly one fine day one of the dll stopped loading. So i tried loading it using netload command but doesn't work. Its not showing any messages after netloading and when i type commands of that dll it says unknown command. I tried putting a message box in the initialize of the dll but that message also not showing up.
View 5 Replies
View Related
Apr 27, 2012
I have custom menu items that call code in .DLL files that are loaded using Netload in the ACAD.LSP file. However, since upgrading to 2013, the DLLs don't seem to load and the menu links say the macros don't exist.
View 9 Replies
View Related
May 28, 2012
Is there any way to return the path to the dll that has been used in Netload the addin application?
View 4 Replies
View Related
Oct 18, 2009
The loaded file is a .dll written in Visual Basic.NET using Visual Studio 2010.
NETLOAD Cannot load assembly. Error details: System.BadImageFormatException:
Could not load file or assembly 'file:///C:Documents and SettingsdanMy
DocumentsVisual Studio
10ProjectsClassLibrary1ClassLibrary1objx86ReleaseClassLibrary1.dll' or
one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
View 8 Replies
View Related
Jun 4, 2013
Is it possible to use a load statement in a profile to automatically load/unload a cuix?
View 7 Replies
View Related
Dec 24, 2010
I have a project that suddenly won't load. I have 25 versions of it, I save it under a new file name each time in case I need to go back to an older version.
Trouble is most of the versions won't load! Only the very early versions will load. Some of the later version start to load then disappear.
Hardware hasn't changed on the PC, maybe the video drivers have been updated, thats about it.
View 2 Replies
View Related
May 23, 2012
How to automatically run dvb file when acad starts, I have been trying in autocad but its not working.I am using ACAD 2007
View 7 Replies
View Related
Apr 6, 2012
To my knowledge this file has not been renamed and definitely not been deleted...Has been moved, but does that matter? The attached image is the error i get when trying to load .cuix as a partial in CUI dialogue box. I cannot load from CUILOAD, either.
I have verified that another cui of the same name is not already loaded.
View 3 Replies
View Related
Jan 6, 2014
I have a project in my PC, and build it to file ".dll". It is working fine in my machine with "netload" command (to load it).
But in another PC "Netload" command can not load it . How i can load Dll file on other PC?
View 6 Replies
View Related
Mar 15, 2012
I have been trying to interface to AutoCAD from my VS 2010 project without luck.
My environment is 64bit windows 7 environment. I installed on my computer AutoCad 2012 and ObjectARX 2012.
I created a basic hello world project where I referenced the AcCui.dll AcDbMgd.dll AcMgd.dll but I keep getting errors when running it.
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module.
Additional information: Could not load file or assembly 'Acmgd, Version=18.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
I have tried it with "Copy Local" false (also with true), I have tried to reference the dlls from the ObjectARX directories as well as the AutoCAD installation folders without luck.
View 5 Replies
View Related
Oct 10, 2006
I tried applying this flag to one of my commands for Autocad 2006. The documentation states that it forces users to enter the full namespace of the command in order to invoke it.
The problem is that even after defining the local, global, and group names I can't get the command to load. I've tried every possible namespace I could think of when entering the command into Autocad. The command works if I do not apply the flag, and typing GroupName.GlobalName into the command line also works - unless I add the Undefined flag.
[CommandMethod("group1", "cmd1", CommandFlags.Undefined)] _
Public Sub Test()
End Sub
View 3 Replies
View Related
Aug 15, 2011
I was wondering if there was any way to control what gets loaded - almost like a "Safe Mode" with only basic functionality.
View 2 Replies
View Related
Feb 29, 2012
I have a .dll that uses registry entries to load itself when AutoCAD starts. But I have encountered a problem where it also loads even
When a customer chooses to load another AutoCAD plugin by another vendor. I would like it ideally only to be loaded when the user clicks on my desktop shortcut.
I am writing in VB.net & have noticed some vendors use a reference to object.arx in their shortcut. Is it possible to do this with a vb.net .dll or even a lisp?
View 3 Replies
View Related
Dec 8, 2012
I have been using the ribbon api to create my custom ribbon. I am now attempting to load said rribbon at startup by placing the load command into the initialize componant. It isn't working.
Dim ribCntrl As Autodesk.Windows.RibbonControl = Autodesk.Windows.ComponentManager.Ribbon
If ComponentManager.Ribbon Is Nothing Then
Return
End If
For i As Integer = 0 To ribCntrl.Tabs.Count - 1
[code]...
I seem to remember being told it's because the ribbon .dll hasn't yet started at this point sso it has nothing to use to load it?
View 3 Replies
View Related
May 10, 2011
I am using VB.NET 2010 Express, and have created a dll that only appears to load correctly when launching the debugger. When I use netload to load my dll I get an error stating:
"Cannot load assembly. Error details: System.IO.FileLoadException: Could not load file or assembly...
...System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework..."
The error pops even if I move the dll to the local acad support folder. I have already changed the target framework to ".NET Framework 4" since I am modifying this from a file that loaded correctly in 2011 with 3.5.
View 2 Replies
View Related
Feb 20, 2008
I try to load my menu at application start. But I can't see this menu in the menu bar after start. I see menu only after I "reload" current workspace in user interface customization dialog.
const String myCuiFile = @"D:Visual Studio 2005ProjectsAutoCAD 2008Cuisits.cui";
public void Initialize()
{
String currentWorkSpace = (String)Application.GetSystemVariable("WSCURRENT");
CustomizationSection acadCustomSection = new CustomizationSection((String)Application.GetSystemVariable("MENUNAME") + ".cui");
if (acadCustomSection.PartialCuiFiles.Contains(myCuiFile) == false)
[code]....
View 5 Replies
View Related
Jan 30, 2013
Goal: to use Autocad 2013 or 2012 with AutoQuoterX II™ from 8020 .net.I first installed 2013 but got the error, then tried updating to latest patch. Then I tried reinstall - no fix.
I then uninstalled and tried install 2012. Updated latest patch - no fix.I am having an issue where I am getting an error message "unhandled exception"..Unable to load DLL 'sqlceme35.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) after which point I can continue and then Autocad is forced to close.
FATAL ERROR: Unhandled e0434352h ERxception at fe169e5dh..Unable to load DLL 'sqlceme35.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
System.DllNotFoundException: Unable to load DLL 'sqlceme35.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at System.Data.SqlServerCe.NativeMethods.SafeRelease(IntPtr& ppUnknown)
at System.Data.SqlServerCe.SqlCeConnection.ReleaseNativeInterfaces()
at System.Data.SqlServerCe.SqlCeConnection.Dispose(Boolean disposing)
at System.Data.SqlServerCe.SqlCeConnection.Finalize()
[code]...
View 3 Replies
View Related
May 11, 2012
Can I load an Inventor File with C#?Can I load an Inventor File with C# without Inventor Installled in my computer?
I have an Inventor File with a mechanical piece that move in his 3 axes, can I make a C# application where I insert some values and the application modify the inventor file and then view this "modified" mechanical piece on C#?( All this without Inventor installed on my computer)
View 1 Replies
View Related
Apr 27, 2011
I am using Cad11, VS10 with VB.NET.
I have a simple function that breaks down the file name and populates 3 fields with the correct names. In my template they all get changed correctly, but when I make a new .dwg it takes a few (hopefully unnecessary) steps to get them to change. The very 1st time opening Cad, the fields do not get recognized ( !fieldname1 returns a nil). If I close the .dwg and reopen it the fields pull the correct value but do not change in model space (ex -- !fieldname1 returns 12345, but model space is still showing 54321 in the field). In order to get the value to change I have to type the Field command in Cad, I don't have to do anything in it, I can immediately close the Field form and then do a regen to get model space to show the correct values.
My idea was to hard code in the Field command and hope to be able to close that before the user knows it is even open, but I still don't think that will solve the 1st time Cad is opened problem, and I am having no luck with getting that lisp command to run (like it said, very limited experience with it). It could just be the syntax is wrong since it is so simple but here is what I thought would work.
[code]
ThisDrawing.SendCommand("field" & vbCr)
[/code]
I have a thisdrawing...("!fieldname1" & vbcr) that correctly returns the value in the command bar right above this.
In the command bar 'field' shows up but the form does not open.
View 3 Replies
View Related
Aug 13, 2012
I have a .lin file, that keeps giving me several "Bad Definition" dings. I acquired this ".lin" file at a previous job, and am not sure why I can not get it to load correctly now.
I am not the best, at writing computer language, so I know my issue is operator error, and me being the operator; I don't know how to solve it. I changed the ending of the file to ".txt" so it would upload, I couldn't get it too attach in the ".lin" format.
On another note, I'm extremely distracted right now from work, after Yahoo flashed there was a shooting incident at Texas A&M Univ. It makes a person wonder, "What is going on, with all the gun violence lately?"
View 4 Replies
View Related
Jul 11, 2012
So I was working in AutoCAD at work and this Error Message showed up. I don't know how to load my drawing because everytime this error message comes up AutoCAD shuts down.
View 1 Replies
View Related
Sep 12, 2013
We recently upgraded to AutoCad 2014 and the acad.pgp file does not seem to load correctly on one of 3 stations.The other 2 seem to be working just fine.
I located the file it is referencing with the (findfile "ACAD.PGP") command, to be sure I am looking at the correct one.
What happens is when I type PS in the command line it should initiate the Paperspace command. It clearly states in the .pgp file " PS, *PSPACE ". However what shows in the command line is "Pick line"! To be sure it is loaded I ran the REINIT command.
View 0 Replies
View Related
May 3, 2012
I can't load some xrefs in 2013 that I can with 2012. Identical new machines within the last week.
I get an invalid message for some not all. Is it the 2013 jinx?
View 9 Replies
View Related
Sep 27, 2013
I have a problem with loading a dll file I created with Visual Express 2010. We are using this VB-project in the company for a year now and we have never had a problem with it. But now we do.
The dll is loaded with the use of the Autoloader. For me it is a nice way to load dll and lisp files everybody needs at startup.This is the xml code
<?xml version="1.0" encoding="utf-8" ?><ApplicationPackage SchemaVersion="1.0" Name="Instellingen ABR" > <Components> <ComponentEntry AppName="LISPAWSABR" ModuleName="./Contents/awsexport.lsp" LoadOnCommandInvocation="True"> <Commands GroupName="ADN_MINESWEEPER"> <Command Local="awsexport" Global="awsexport" StartupCommand="False" />
[code]...
Like I said, all went well untill I tried to install another copy of Autocad on another computer. The lisp-files are loading fine on this pc but the dll-file is not loading. When I try to load it with netload everything is ok so the dll should be allright.
Like all other pc's it is a Windows 7 64bit pc and nothing is different form those other pc's. So I really don't know where to look for the problem, let alone the solution.
I tried everything like renaming the dll (no spaces), trying to load the dll only, also loading from the programdata folder instead of the programfiles(x86) folder.
View 5 Replies
View Related
Jan 20, 2012
I have a customised menu which is visible in the cui, however it wont load into the drop down menus within autocad
I use this a lot and desperatly need to load it
View 7 Replies
View Related
Oct 11, 2011
After loading a layer file, Map always does a zoom extents. Is there any way to turn this off so it retains the current view?
View 6 Replies
View Related
Dec 7, 2011
Is there any option to load the dll on every drawing opened, like vba macro is loaded in start up suite. or is there any possibility to open a tool palette on every drawing opened.
View 2 Replies
View Related
Dec 1, 2012
I was trying to figure out the best way of loading an external WPF executable assembly into Autocad. The scenario is simple though to explain.
The user enters a command in Autocad. The command invokes a WPF application, which loads a particular WPF Window. The command also need to pass a parameter to the WPF application when it requests the WPF Window to load. When the user is done with the Window, he closes it like any modal window that appear in Autocad. What are the possible ways to have such an interaction in AutoCAD using .Net and C# and WPF
View 5 Replies
View Related
Jul 17, 2013
I'm trying to import a .tif image into autocad 2013 this image I clipped in ArcMap 10.1 and reprojected. The size of the image that I can't import is 36.6 mb, but I can import a MrSIDs image size is 611 mb into AutoCAD this is the error message that I get when I try an import the smaller image. "this file is an unknown format or invalid for images"
View 5 Replies
View Related