<?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 recieving run time error for acmgd.dll in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298697#M57533</link>
    <description>&lt;P&gt;"Could not load file or assembly 'acmgd, Version=17.0.54.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the error i recieve, i've already referenced the dll from local installed folder, and made local copy as false. but also i recieve this error... please help me in this i need to proceed with this rectification&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jan 2012 08:44:48 GMT</pubDate>
    <dc:creator>sivaulagu</dc:creator>
    <dc:date>2012-01-19T08:44:48Z</dc:date>
    <item>
      <title>recieving run time error for acmgd.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298697#M57533</link>
      <description>&lt;P&gt;"Could not load file or assembly 'acmgd, Version=17.0.54.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the error i recieve, i've already referenced the dll from local installed folder, and made local copy as false. but also i recieve this error... please help me in this i need to proceed with this rectification&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 08:44:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298697#M57533</guid>
      <dc:creator>sivaulagu</dc:creator>
      <dc:date>2012-01-19T08:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: recieving run time error for acmgd.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298727#M57534</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;questions to that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;what AutoCAD-version do you drive?&lt;/LI&gt;&lt;LI&gt;when did you receive the error .... when doing _NETLOAD or anywhere else?&lt;/LI&gt;&lt;LI&gt;have you looked into your bin-output-directory if you have no AC*MGD*.dll sitting around? Because if you had set "copy local" to yes before it may have been copied and setting back to "no" the copy may not be removed automatically.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 09:14:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298727#M57534</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2012-01-19T09:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: recieving run time error for acmgd.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298785#M57535</link>
      <description>&lt;P&gt;autocad2007&lt;/P&gt;&lt;P&gt;wen call this class during run time.. i recieve the error at the calling line...&lt;/P&gt;&lt;P&gt;i've tried by removing the dll form project directory also&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 10:14:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298785#M57535</guid>
      <dc:creator>sivaulagu</dc:creator>
      <dc:date>2012-01-19T10:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: recieving run time error for acmgd.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298803#M57536</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; wen call this class during run time&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;And when you load the project manually with _NETLOAD you don't get the error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 10:27:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298803#M57536</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2012-01-19T10:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: recieving run time error for acmgd.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298809#M57537</link>
      <description>&lt;P&gt;sorry i dont get wat is _NETLOAD???&lt;/P&gt;&lt;P&gt;I'm new to this VB.net....&lt;/P&gt;&lt;P&gt;i've builded the project manually i didnt get any error or warnings...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is this is objectarx concept or vb.net autocad api&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 10:40:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298809#M57537</guid>
      <dc:creator>sivaulagu</dc:creator>
      <dc:date>2012-01-19T10:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: recieving run time error for acmgd.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298831#M57538</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; i dont get wat is _NETLOAD???&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;_NETLOAD is a command built into AutoCAD that lets you load your dotNET-DLL into AutoCAD (so the init is done and defined commands within your DLL are now available for this AutoCAD session).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not knowing any project structure you use I'll start with the standard case using vb.NET for AutoCAD:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;you have a DLL-project&lt;/LI&gt;&lt;LI&gt;within this project you have some custom-commands for AutoCAD defined&lt;/LI&gt;&lt;LI&gt;within this project you may have some initialization included&lt;/LI&gt;&lt;LI&gt;you compile the project so you get a DLL-file&lt;/LI&gt;&lt;LI&gt;you start AutoCAD&lt;/LI&gt;&lt;LI&gt;you start command _NETLOAD and point to this DLL-file to get loaded&lt;/LI&gt;&lt;LI&gt;if you have some init-stuff ==&amp;gt; it's now executed&lt;/LI&gt;&lt;LI&gt;the commands you developed are now available within this AutoCAD session.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you haven't used _NETLOAD ever (and you have not set some registry items to get the DLL loaded automatically) you should start describing how your project works (should work).&lt;/P&gt;&lt;P&gt;When you don't get your DLL loaded (either by _NETLOAD or by any reg-setting) I can't imagine how do you get it running?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 10:53:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298831#M57538</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2012-01-19T10:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: recieving run time error for acmgd.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298857#M57539</link>
      <description>&lt;P&gt;i'm creating a seperate windowsapplication with a form and oather stuffs. will be getting inputs from the user to get drawings in autocad.&lt;/P&gt;&lt;P&gt;for time being i just had a button and in the click event i've called the sub routine from a class containing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Imports Autodesk.AutoCAD.ApplicationServices&lt;BR /&gt;Imports Autodesk.AutoCAD.DatabaseServices&lt;BR /&gt;Imports Autodesk.AutoCAD.EditorInput&lt;BR /&gt;Imports Autodesk.AutoCAD.Geometry&lt;/P&gt;&lt;P&gt;Public Class Class1&lt;/P&gt;&lt;P&gt;Public Shared Sub NewClass()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim doc As Document = Application.DocumentManager.MdiActiveDocument&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim tAcadDoc As Document = Application.DocumentManager.MdiActiveDocument&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim ed As Editor = doc.Editor&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim tTrAct As Transaction = Nothing&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Using myTrans As Transaction = tAcadDoc.TransactionManager.StartTransaction&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim tBlTab As BlockTable = CType(tTrAct.GetObject(tAcadDoc.Database.BlockTableId, OpenMode.ForRead), BlockTable)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim tModSp As BlockTableRecord = CType(tTrAct.GetObject(tBlTab(BlockTableRecord.ModelSpace), OpenMode.ForRead), BlockTableRecord)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim tModSpCOM As AcadModelSpace = CType(tModSp.AcadObject, AcadModelSpace)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each myObjId As ObjectId In tModSpCOM&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim myEnt As Entity = CType(myObjId.GetObject(OpenMode.ForRead), Entity)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select Case UCase(myEnt.PlotStyleName)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case "ACDBLINE"&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Select&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Using&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/P&gt;&lt;P&gt;End Class&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 11:11:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298857#M57539</guid>
      <dc:creator>sivaulagu</dc:creator>
      <dc:date>2012-01-19T11:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: recieving run time error for acmgd.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298879#M57540</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; i'm creating a seperate windowsapplication&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Do you mean you are creating an EXE?&lt;/P&gt;&lt;P&gt;If so: You can't use the MGD-library from outside of AutoCAD and so you won't get the managed assemblies loaded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 11:27:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298879#M57540</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2012-01-19T11:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: recieving run time error for acmgd.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298893#M57541</link>
      <description>&lt;P&gt;so u understand my needs right???&lt;/P&gt;&lt;P&gt;guide me good book for autocad api,&amp;nbsp; that gives basic knowledge about this cad api's all those things....&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 11:37:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298893#M57541</guid>
      <dc:creator>sivaulagu</dc:creator>
      <dc:date>2012-01-19T11:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: recieving run time error for acmgd.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298923#M57542</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; so u understand my needs right???&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Not sure if I do. ;(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT color="#666699"&gt;&amp;gt;&amp;gt; guide me good book for autocad api&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Sorry, I have none. But you should be able to search with Google (like &lt;A target="_self" href="https://www.google.com/search?q=autocad+NET+API+development+book&amp;amp;ie=UTF-8&amp;amp;hl=en"&gt;&amp;gt;&amp;gt;&amp;gt;this&amp;lt;&amp;lt;&amp;lt;&lt;/A&gt;), then you may find some for your language, some in english, you can chose then.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- alfred -&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 11:54:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298923#M57542</guid>
      <dc:creator>Alfred.NESWADBA</dc:creator>
      <dc:date>2012-01-19T11:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: recieving run time error for acmgd.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298943#M57543</link>
      <description>&lt;P&gt;anyway thanks yaar.... thank u verymuch&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 12:05:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3298943#M57543</guid>
      <dc:creator>sivaulagu</dc:creator>
      <dc:date>2012-01-19T12:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: recieving run time error for acmgd.dll</title>
      <link>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3300113#M57544</link>
      <description>&lt;P&gt;You have two options for building managed .NET "stuff" for AutoCAD.&amp;nbsp; The first is to create an EXE, or stand-alone application.&amp;nbsp; This sends instructions to a running session of AutoCAD.&amp;nbsp; Since you have one application telling another what to do, this is slow and has some limitations so is considered "second best".&amp;nbsp; The second method is to create a DLL that is loaded into a running session of AutoCAD, either through a call to the NETLOAD command or loaded on demand using a registry switch.&amp;nbsp; This is the preferred method, since it is being run by AutoCAD (instead of the other way around) it is faster and has more options of getting things done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suggest getting started using one of the various "Getting Started" guides available online.&amp;nbsp; Try plugging "getting started with AutoCAD .net" into a search engine. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2012 23:19:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/recieving-run-time-error-for-acmgd-dll/m-p/3300113#M57544</guid>
      <dc:creator>dgorsman</dc:creator>
      <dc:date>2012-01-19T23:19:06Z</dc:date>
    </item>
  </channel>
</rss>

