<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Creating an Icon to Launch a dll in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/creating-an-icon-to-launch-a-dll/m-p/3785321#M50977</link>
    <description>&lt;P&gt;I have a .net program that I would like to run using an icon.&amp;nbsp; I've done this before and it worked, but now it's giving me an error.&lt;/P&gt;&lt;P&gt;I created the icon and command, I added the following to the command line:&lt;/P&gt;&lt;P&gt;^C^Cnetload "C://Program Files//my stuff//myProgram.dll” adp&lt;/P&gt;&lt;P&gt;(adp will lanch the program)&lt;/P&gt;&lt;P&gt;I get the following:&lt;/P&gt;&lt;P&gt;netload Assembly file name: "C://Program&lt;BR /&gt;Files//mystuff//myProgram.dll” adp&lt;/P&gt;&lt;P&gt;Cannot load assembly. Error details: System.ArgumentException: Illegal&lt;BR /&gt;characters in path.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.IO.Path.CheckInvalidPathChars(String path)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.IO.Path.Combine(String path1, String path2)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at ?A0xe1e1f031.NormalizeLoadFilename(String fname)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at loadmgd()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Originally I tried using single slashes (/), but it still gives the same error.&amp;nbsp; It seems to have trouble with the spaces in the file path.&amp;nbsp; How do I work around that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Feb 2013 17:52:55 GMT</pubDate>
    <dc:creator>mgorecki</dc:creator>
    <dc:date>2013-02-20T17:52:55Z</dc:date>
    <item>
      <title>Creating an Icon to Launch a dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/creating-an-icon-to-launch-a-dll/m-p/3785321#M50977</link>
      <description>&lt;P&gt;I have a .net program that I would like to run using an icon.&amp;nbsp; I've done this before and it worked, but now it's giving me an error.&lt;/P&gt;&lt;P&gt;I created the icon and command, I added the following to the command line:&lt;/P&gt;&lt;P&gt;^C^Cnetload "C://Program Files//my stuff//myProgram.dll” adp&lt;/P&gt;&lt;P&gt;(adp will lanch the program)&lt;/P&gt;&lt;P&gt;I get the following:&lt;/P&gt;&lt;P&gt;netload Assembly file name: "C://Program&lt;BR /&gt;Files//mystuff//myProgram.dll” adp&lt;/P&gt;&lt;P&gt;Cannot load assembly. Error details: System.ArgumentException: Illegal&lt;BR /&gt;characters in path.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.IO.Path.CheckInvalidPathChars(String path)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.IO.Path.Combine(String path1, String path2)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at ?A0xe1e1f031.NormalizeLoadFilename(String fname)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at loadmgd()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Originally I tried using single slashes (/), but it still gives the same error.&amp;nbsp; It seems to have trouble with the spaces in the file path.&amp;nbsp; How do I work around that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 17:52:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/creating-an-icon-to-launch-a-dll/m-p/3785321#M50977</guid>
      <dc:creator>mgorecki</dc:creator>
      <dc:date>2013-02-20T17:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an Icon to Launch a dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/creating-an-icon-to-launch-a-dll/m-p/3785362#M50978</link>
      <description>&lt;P&gt;The file path in your macro is wrong: you use either double back-slash "\\" or single forward-slash "/". Yet, you used double forward-slash "//", hence the "illegal character in path"!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 18:31:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/creating-an-icon-to-launch-a-dll/m-p/3785362#M50978</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2013-02-20T18:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an Icon to Launch a dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/creating-an-icon-to-launch-a-dll/m-p/3785554#M50979</link>
      <description>&lt;P&gt;When I use:&lt;/P&gt;&lt;P&gt;^C^Cnetload "C:\\Program Files\\my Stuff\\myProgram.dll” adp&lt;/P&gt;&lt;P&gt;I get:&lt;/P&gt;&lt;P&gt;Command: netload Assembly file name: "C:&lt;BR /&gt;Cannot load assembly. Error details: System.ArgumentException: Illegal&lt;BR /&gt;characters in path.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.IO.Path.CheckInvalidPathChars(String path)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.IO.Path.Combine(String path1, String path2)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at ?A0xe1e1f031.NormalizeLoadFilename(String fname)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at loadmgd()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use:&lt;/P&gt;&lt;P&gt;^C^Cnetload "C:/Program Files/my Stuff/myProgram.dll” adp&lt;/P&gt;&lt;P&gt;I get:&lt;/P&gt;&lt;P&gt;Command: netload Assembly file name: "C:/Program Files/my&lt;BR /&gt;Stuff/myProgram.dll” adp&lt;BR /&gt;Cannot load assembly. Error details: System.ArgumentException: Illegal&lt;BR /&gt;characters in path.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.IO.Path.CheckInvalidPathChars(String path)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at System.IO.Path.Combine(String path1, String path2)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at ?A0xe1e1f031.NormalizeLoadFilename(String fname)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; at loadmgd()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's so weird, it used to work with the single slashes.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 20:00:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/creating-an-icon-to-launch-a-dll/m-p/3785554#M50979</guid>
      <dc:creator>mgorecki</dc:creator>
      <dc:date>2013-02-20T20:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an Icon to Launch a dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/creating-an-icon-to-launch-a-dll/m-p/3785575#M50980</link>
      <description>&lt;P&gt;Ok, I just retyped the command very carefully:&lt;/P&gt;&lt;P&gt;^C^Cnetload "C:/Program Files/my Stuff/myProgram.dll" adp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For some reason, this one works.&amp;nbsp; Maybe a hidden character from a cut and paste?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2013 20:11:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/creating-an-icon-to-launch-a-dll/m-p/3785575#M50980</guid>
      <dc:creator>mgorecki</dc:creator>
      <dc:date>2013-02-20T20:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an Icon to Launch a dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/creating-an-icon-to-launch-a-dll/m-p/3786011#M50981</link>
      <description>&lt;P&gt;I'm using for years lisp expression for button macro,&lt;/P&gt;&lt;P&gt;i.e. for full path of my test .dll:&lt;/P&gt;&lt;PRE&gt;^C^C(command "_.NETLOAD" "C:/Users/Oleg/Programming/ACAD/ACAD_START/AutoCAD CSharp plug-in1/AutoCAD CSharp plug-in1/bin/Release/AutoCAD CSharp plug-in1.dll" )(princ)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;It should working for me with no problem,&lt;/P&gt;&lt;P&gt;as you can see your friend is a single slash as delimiter&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2013 11:03:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/creating-an-icon-to-launch-a-dll/m-p/3786011#M50981</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2013-02-21T11:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creating an Icon to Launch a dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/creating-an-icon-to-launch-a-dll/m-p/4358008#M50982</link>
      <description>&lt;P&gt;The " character at the end of the string looks different than the one at the beginning I bet that is your illicit character causing the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 20:15:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/creating-an-icon-to-launch-a-dll/m-p/4358008#M50982</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-07T20:15:57Z</dc:date>
    </item>
  </channel>
</rss>

