Creating an Icon to Launch a dll
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a .net program that I would like to run using an icon. I've done this before and it worked, but now it's giving me an error.
I created the icon and command, I added the following to the command line:
^C^Cnetload "C://Program Files//my stuff//myProgram.dll” adp
(adp will lanch the program)
I get the following:
netload Assembly file name: "C://Program
Files//mystuff//myProgram.dll” adp
Cannot load assembly. Error details: System.ArgumentException: Illegal
characters in path.
at System.IO.Path.CheckInvalidPathChars(String path)
at System.IO.Path.Combine(String path1, String path2)
at ?A0xe1e1f031.NormalizeLoadFilename(String fname)
at Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)
at loadmgd()
Originally I tried using single slashes (/), but it still gives the same error. It seems to have trouble with the spaces in the file path. How do I work around that?