<?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 Re: Lab1 fails to execute in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/lab1-fails-to-execute/m-p/1932288#M78476</link>
    <description>Sorry,  i am using version "Autocad 2007"&lt;BR /&gt;
I miss spell it.....&lt;BR /&gt;
Please help me</description>
    <pubDate>Wed, 04 Apr 2007 06:26:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-04-04T06:26:53Z</dc:date>
    <item>
      <title>Lab1 fails to execute</title>
      <link>https://forums.autodesk.com/t5/net-forum/lab1-fails-to-execute/m-p/1932287#M78475</link>
      <description>I am working with dotnat 2005 having autocad 2005 installed on it. My operating system is Windows 2003. &lt;BR /&gt;
I implement the example available with samples names Lab1. In this example, i just call the method ..&lt;BR /&gt;
&lt;BR /&gt;
&lt;COMMANDMETHOD&gt; _&lt;BR /&gt;
	 Public Sub HelloWorld()&lt;BR /&gt;
		Dim ed As Editor = Application.DocumentManager.MdiActiveDocument.Editor&lt;BR /&gt;
		ed.WriteMessage("Hello World")&lt;BR /&gt;
	End Sub&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
There is No error in runing, Autocad opens when i run the application by F5. I use Netload command and browse dll from debug folder. But nothing happen when i type "HelloWorld" on the command line.........&lt;BR /&gt;
Why this happen. is it the issue of Operating system, or ????&lt;BR /&gt;
Please help me. &lt;BR /&gt;
Thanks&lt;/COMMANDMETHOD&gt;</description>
      <pubDate>Wed, 04 Apr 2007 06:23:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/lab1-fails-to-execute/m-p/1932287#M78475</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-04-04T06:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Lab1 fails to execute</title>
      <link>https://forums.autodesk.com/t5/net-forum/lab1-fails-to-execute/m-p/1932288#M78476</link>
      <description>Sorry,  i am using version "Autocad 2007"&lt;BR /&gt;
I miss spell it.....&lt;BR /&gt;
Please help me</description>
      <pubDate>Wed, 04 Apr 2007 06:26:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/lab1-fails-to-execute/m-p/1932288#M78476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-04-04T06:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Lab1 fails to execute</title>
      <link>https://forums.autodesk.com/t5/net-forum/lab1-fails-to-execute/m-p/1932289#M78477</link>
      <description>From the Lab:&lt;BR /&gt;
&lt;BR /&gt;
We will now add our command to Class1. To add a command that can be called in AutoCAD use the “CommandMethod” attribute. This attribute is provided by the Runtime namespace. Add the following attribute and Sub to Class1. Notice the use of the line continuation character “_”. &lt;BR /&gt;
&lt;BR /&gt;
Public Class Class1&lt;BR /&gt;
 &lt;COMMANDMETHOD&gt; _&lt;BR /&gt;
 Public Sub HelloWorld()&lt;BR /&gt;
		&lt;BR /&gt;
End Sub&lt;BR /&gt;
End Class&lt;/COMMANDMETHOD&gt;</description>
      <pubDate>Wed, 04 Apr 2007 22:49:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/lab1-fails-to-execute/m-p/1932289#M78477</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-04-04T22:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Lab1 fails to execute</title>
      <link>https://forums.autodesk.com/t5/net-forum/lab1-fails-to-execute/m-p/1932290#M78478</link>
      <description>Ignore that as the website is removing the commandmethod.&lt;BR /&gt;
&lt;BR /&gt;
Regards - Nathan</description>
      <pubDate>Wed, 04 Apr 2007 22:52:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/lab1-fails-to-execute/m-p/1932290#M78478</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-04-04T22:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Lab1 fails to execute</title>
      <link>https://forums.autodesk.com/t5/net-forum/lab1-fails-to-execute/m-p/1932291#M78479</link>
      <description>Netload is the command used in Autocad 2007 in order to load the .net program DLL. &lt;BR /&gt;
&lt;BR /&gt;
Is there any way that when autocad starts, my particular .net dll loads at startup of autocad. &lt;BR /&gt;
I made a context menu program in .net and when i load its dll using netload, the menuitem appears on right click. i want that As autocad run, it auto load its dll.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Help me please...</description>
      <pubDate>Thu, 05 Apr 2007 06:09:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/lab1-fails-to-execute/m-p/1932291#M78479</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-04-05T06:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Lab1 fails to execute</title>
      <link>https://forums.autodesk.com/t5/net-forum/lab1-fails-to-execute/m-p/1932292#M78480</link>
      <description>Thanks, but my problem is resolved, but now have a new question..&lt;BR /&gt;
&lt;BR /&gt;
Netload is the command used in Autocad 2007 in order to load the .net program DLL.&lt;BR /&gt;
&lt;BR /&gt;
Is there any way that when autocad starts, my particular .net dll loads at startup of autocad.&lt;BR /&gt;
I made a context menu program in .net and when i load its dll using netload, the menuitem appears on right click. i want that As autocad run, it auto load its dll.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Help me please...</description>
      <pubDate>Thu, 05 Apr 2007 06:10:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/lab1-fails-to-execute/m-p/1932292#M78480</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-04-05T06:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Lab1 fails to execute</title>
      <link>https://forums.autodesk.com/t5/net-forum/lab1-fails-to-execute/m-p/1932293#M78481</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I'm trying the LAB1 and not happen too... how you resolved this problem?&lt;BR /&gt;
&lt;BR /&gt;
thanks&lt;BR /&gt;
&lt;BR /&gt;
Jardel</description>
      <pubDate>Thu, 02 Jul 2009 14:23:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/lab1-fails-to-execute/m-p/1932293#M78481</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-07-02T14:23:50Z</dc:date>
    </item>
  </channel>
</rss>

