<?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: How to open autocad.exe in C# , PLEASE HELP! in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3326453#M57359</link>
    <description>&lt;P&gt;Dear Hallex:&lt;/P&gt;&lt;P&gt;I test your code in anther computers&lt;/P&gt;&lt;P&gt;It runs well in WinXP and Win7 64bit, cad2004, 2007, 2008, 2010&lt;/P&gt;&lt;P&gt;you are genius, Hallex&lt;/P&gt;&lt;P&gt;I read many articles&lt;/P&gt;&lt;P&gt;and never see cad C# code without any libraries&lt;/P&gt;&lt;P&gt;your defined AcadApp and AcadDoc as Object&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it the reason that can runs well in different OS and CAD ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2012 04:52:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-02-10T04:52:26Z</dc:date>
    <item>
      <title>How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3318643#M57343</link>
      <description>&lt;P&gt;I am using Visual.net 2008 with autocad.net API, autocad2010, windows 7 home&lt;/P&gt;&lt;P&gt;right now, i want to start autocad.exe, and draw some lines in it, by using C# WindowsFormsApplication,&amp;nbsp;not &amp;nbsp;C# Class Library&lt;/P&gt;&lt;P&gt;still i cannot start autocad.exe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope to open cad by autocad.net API, not ObjectARX or others&lt;/P&gt;&lt;P&gt;I am a new one, &amp;nbsp;please HELP ME&lt;/P&gt;&lt;P&gt;thanks very very much !&lt;/P&gt;</description>
      <pubDate>Sun, 05 Feb 2012 08:19:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3318643#M57343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-05T08:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3318673#M57344</link>
      <description>&lt;P&gt;There is no exe autocad, you mean acad.exe?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You cant program in autocad through windows forms with just opening acad.exe with out ObjectARX&lt;/P&gt;</description>
      <pubDate>Sun, 05 Feb 2012 10:12:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3318673#M57344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-05T10:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3318687#M57345</link>
      <description>&lt;P&gt;If you want to don't add any reference to acad's libraries&lt;/P&gt;&lt;P&gt;in this case just one way to do it is using late-binding to AutoCAD&lt;/P&gt;&lt;P&gt;There is a ton of code to do this work&lt;/P&gt;</description>
      <pubDate>Sun, 05 Feb 2012 11:14:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3318687#M57345</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2012-02-05T11:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3318721#M57346</link>
      <description>&lt;P&gt;Here are 2 files were written on vb.net&lt;/P&gt;&lt;P&gt;See if this will be working fror you&lt;/P&gt;</description>
      <pubDate>Sun, 05 Feb 2012 13:43:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3318721#M57346</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2012-02-05T13:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3319131#M57347</link>
      <description>&lt;P&gt;Thanks very much ! really appreciate your great help ~&lt;/P&gt;&lt;P&gt;actually i work it out by using C# library&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2012 10:00:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3319131#M57347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-06T10:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3319589#M57348</link>
      <description>&lt;P&gt;Create Wndws Forms Application project&lt;/P&gt;&lt;P&gt;Name it &lt;STRONG&gt;AcadTestExe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Add form &lt;STRONG&gt;Form1&lt;/STRONG&gt; to project&lt;/P&gt;&lt;P&gt;Drop on form OpenFileDialog, texbox and button&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;Keep default names for all controls&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Add class &lt;STRONG&gt;ReflectionCommands.cs&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Copy all codes accodingy to classes, then hit F5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" face="arial,helvetica,sans-serif"&gt;~'J'~&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2012 16:17:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3319589#M57348</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2012-02-06T16:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3320443#M57349</link>
      <description>&lt;P&gt;Dear Hallex, you are genius!!!&lt;/P&gt;&lt;P&gt;I tried your codes, and it works very well~&lt;/P&gt;&lt;P&gt;Thank for your help, It's really great~&lt;/P&gt;&lt;P&gt;althought I cannot figured out how you fix it without adding any CAD liraries or dll&lt;/P&gt;&lt;P&gt;I am a new one in cad developping , these days I kept searching for any useful book or documents&lt;/P&gt;&lt;P&gt;still there is no result&lt;/P&gt;&lt;P&gt;Can you give me some advice for learning cad with C# ? Is there any useful documents for me ?&lt;/P&gt;&lt;P&gt;PS: I can draw circle by your &amp;nbsp;incredible codes, Could you please tell me how to draw a ARC ?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2012 02:33:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3320443#M57349</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-07T02:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3320507#M57350</link>
      <description>&lt;P&gt;C'mon&lt;/P&gt;&lt;P&gt;This is very simple code&lt;/P&gt;&lt;P&gt;Glad you like it&lt;/P&gt;&lt;P&gt;This project does not require any&lt;/P&gt;&lt;P&gt;CAD library&lt;/P&gt;&lt;P&gt;I tested it on&amp;nbsp;A2009-2010 Win7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will be back&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;~'J'~&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2012 05:00:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3320507#M57350</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2012-02-07T05:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3320561#M57351</link>
      <description>&lt;P&gt;your code is incredible simple, I enjoy it&lt;/P&gt;&lt;P&gt;I cannot understand you until now&lt;/P&gt;&lt;P&gt;with your help, I figured it how to draw an arc&lt;/P&gt;&lt;P&gt;thanks ~~~~~~&lt;/P&gt;&lt;P&gt;and please give me some advice&amp;nbsp;&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://forums.autodesk.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2012 07:07:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3320561#M57351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-07T07:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3320613#M57352</link>
      <description>&lt;DIV&gt;&lt;P&gt;dear Hallex:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I use your code to draw some lines in cad,&lt;/P&gt;&lt;P&gt;&amp;nbsp; It is ok in WIN7 64bit + AUTOCAD2008 and WinXP + AUTOCAD2004&lt;/P&gt;&lt;P&gt;&amp;nbsp;but errors happened in WinXP + AUTOCAD2008&lt;/P&gt;&lt;P&gt;&amp;nbsp;my code is :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for (int k = 1; k &amp;lt; iHH.OutHHXY.Row - 1; k++) &amp;nbsp;&amp;nbsp;&lt;BR /&gt;{&lt;BR /&gt;pt2[0] = iHH.OutHHXY[k, 0];&lt;BR /&gt;pt2[1] = iHH.OutHHXY[k, 1];&lt;BR /&gt;drawLineInObject(oSpace, pt1[0], pt1[1], pt2[0], pt2[1], "0");&lt;BR /&gt;pt1[0] = pt2[0];&lt;BR /&gt;pt1[1] = pt2[1];&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error happened in these lines:&lt;/P&gt;&lt;P&gt;object oLine = oBlock.GetType().InvokeMember("AddLine", BindingFlags.InvokeMethod, null, oBlock, pts);&lt;BR /&gt;oLine.GetType().InvokeMember("Layer", BindingFlags.SetProperty, null, oLine, new object[] { layer });&lt;BR /&gt;oLine.GetType().InvokeMember("Update", BindingFlags.InvokeMethod, null, oLine, null);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BUT , if I debug the&amp;nbsp;loops one by one, It runs well. I am so confused~&lt;/P&gt;&lt;P&gt;please help me ~~&lt;/P&gt;&lt;P&gt;Thanks very much !!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;﻿﻿﻿﻿&lt;IMG src="http://forums.autodesk.com/t5/image/serverpage/image-id/20431i9DC6ADDA244FC29B/image-size/original?v=mpbl-1&amp;amp;px=-1" align="center" border="0" title="1" alt="1" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 07 Feb 2012 08:27:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3320613#M57352</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-07T08:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3320717#M57353</link>
      <description>&lt;P&gt;Try attached code it&amp;nbsp;I rewrote&amp;nbsp;it completely&lt;/P&gt;&lt;P&gt;I added some other things take a look at&lt;/P&gt;&lt;P&gt;the additional functions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2012 10:45:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3320717#M57353</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2012-02-07T10:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3322421#M57354</link>
      <description>&lt;P&gt;I wan't to&amp;nbsp;do your homework sorry&lt;/P&gt;&lt;P&gt;In the attached file all is enough for&lt;/P&gt;&lt;P&gt;the basic operations&lt;/P&gt;&lt;P&gt;you have to read some books&lt;/P&gt;&lt;P&gt;about C# reference for more&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2012 06:11:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3322421#M57354</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2012-02-08T06:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3322427#M57355</link>
      <description>&lt;P&gt;&lt;img id="smileyembarrassed" class="emoticon emoticon-smileyembarrassed" src="https://forums.autodesk.com/i/smilies/16x16_smiley-embarrassed.png" alt="Smiley Embarassed" title="Smiley Embarassed" /&gt; Dear Hallex, Thanks very much for your patience andexcellent codes&lt;/P&gt;&lt;P&gt;I am reading some articles and books, I am sorry to cost you much time&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://forums.autodesk.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2012 06:34:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3322427#M57355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-08T06:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3322439#M57356</link>
      <description>&lt;P&gt;You're welcome&lt;/P&gt;&lt;P&gt;Just a hint:&lt;/P&gt;&lt;P&gt;Don't forget to rewrite drawLineInObject function&lt;/P&gt;&lt;P&gt;easier yet to use double[] as start and end points as&lt;/P&gt;&lt;P&gt;arguments&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;P&gt;{code}&lt;/P&gt;&lt;P&gt;public static object DrawLine (object oBlock, double[] p1, double[] p2, string layer)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;// ...&amp;nbsp; the&amp;nbsp;rest portion of your code is goes here.....&lt;/P&gt;&lt;P&gt;return oLine;&lt;/P&gt;&lt;P&gt;}{code}&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2012 07:32:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3322439#M57356</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2012-02-08T07:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3324349#M57357</link>
      <description>&lt;P&gt;Dear Hallex:&lt;/P&gt;&lt;P&gt;I read your code and test in Win7 with .net2008 cad2010, runs very well ~&lt;/P&gt;&lt;P&gt;but in winXP .net2008 cad2008, error happens&lt;/P&gt;&lt;P&gt;it says cannot find the following files:&lt;/P&gt;&lt;P&gt;at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)&lt;/P&gt;&lt;P&gt;at System.Diagnostics.Process.Start()&lt;/P&gt;&lt;P&gt;at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)&lt;/P&gt;&lt;P&gt;at&amp;nbsp;System.Diagnostics.Process.Start(String fileName)&lt;/P&gt;&lt;P&gt;at AcadTestExe.ReflectionCommands.TestACAD(String fname) in F:........&lt;/P&gt;&lt;P&gt;at&amp;nbsp;AcadTestExe.Form1.button1 Click(Object sender. EventArgs e) in F:.......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dear Hallex, should I add some libraries in winXP?&lt;/P&gt;&lt;P&gt;I am a little confused, &amp;nbsp;&lt;/P&gt;&lt;P&gt;what language do you think is fit for me to learn cad devlopping?&amp;nbsp;&lt;/P&gt;&lt;P&gt;ObjectARX, or VBA, or visual Lisp, or C# ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you introduce some reference book for me ?&lt;/P&gt;&lt;P&gt;right now I am more familiar with C#, C++ and matlab&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your patience and incredible codes~~~&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 04:46:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3324349#M57357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-09T04:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3324413#M57358</link>
      <description>&lt;P&gt;On the quick glance it may occurs by User Permission&lt;/P&gt;&lt;P&gt;See here for more:&lt;/P&gt;&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/system.diagnostics.process.process(v=vs.80).aspx" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/system.diagnostics.process.process(v=vs.80).aspx&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2012 06:37:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3324413#M57358</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2012-02-09T06:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3326453#M57359</link>
      <description>&lt;P&gt;Dear Hallex:&lt;/P&gt;&lt;P&gt;I test your code in anther computers&lt;/P&gt;&lt;P&gt;It runs well in WinXP and Win7 64bit, cad2004, 2007, 2008, 2010&lt;/P&gt;&lt;P&gt;you are genius, Hallex&lt;/P&gt;&lt;P&gt;I read many articles&lt;/P&gt;&lt;P&gt;and never see cad C# code without any libraries&lt;/P&gt;&lt;P&gt;your defined AcadApp and AcadDoc as Object&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it the reason that can runs well in different OS and CAD ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 04:52:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3326453#M57359</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-10T04:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3326533#M57360</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There&amp;nbsp;is no magic in&amp;nbsp;my crappy codes&lt;/P&gt;&lt;P&gt;just well-known runtime methods nothing else&lt;/P&gt;&lt;P&gt;Please see here for more:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/system.reflection(v=vs.80).aspx" target="_blank"&gt;http://msdn.microsoft.com/en-us/library/system.reflection(v=vs.80).aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hey, cease to praise me, I same stupid, as my gray-haired @$$ &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;~'J'~&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 07:31:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3326533#M57360</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2012-02-10T07:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3326753#M57361</link>
      <description>&lt;P&gt;Dear Hallex:&lt;/P&gt;&lt;P&gt;I never found cad C# code as powerful as yours which even need not dll or com&lt;/P&gt;&lt;P&gt;so I admire you &lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://forums.autodesk.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;&lt;/P&gt;&lt;P&gt;I am reading cad VBA now, and take a look at the MSDN web link you gave me&lt;/P&gt;&lt;P&gt;I know your code use some VBA Method, just like AddLine, Open...&lt;/P&gt;&lt;P&gt;My question is :&lt;/P&gt;&lt;P&gt;how do you know the parameters of&amp;nbsp;using vba method?&lt;/P&gt;&lt;P&gt;For example: object AcDoc = AcadDocs.GetType().InvokeMember("Open", BindingFlags.InvokeMethod, null, AcadDocs, args, null);&lt;/P&gt;&lt;P&gt;you define args: args[0] = fname;(file&amp;nbsp;path and name)&amp;nbsp; args[1] = false;(can write dwg)&lt;/P&gt;&lt;P&gt;I saw in vba is :ThisDrawing.Application.Documents.Open "c:\1.dwg"&lt;/P&gt;&lt;P&gt;how do you know need fname&amp;nbsp;together with&amp;nbsp;false?&lt;/P&gt;&lt;P&gt;where can I find the rules?&lt;/P&gt;&lt;P&gt;all in C# library reference, reflection???&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 12:47:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3326753#M57361</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-10T12:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to open autocad.exe in C# , PLEASE HELP!</title>
      <link>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3326943#M57362</link>
      <description>&lt;P&gt;No, all these arguments in AutoCAD Help file&lt;/P&gt;&lt;P&gt;That is a lot of work to digg it from there&lt;/P&gt;&lt;P&gt;Say, open VBA editor in AutoCAD by&amp;nbsp;Alt+F11&lt;/P&gt;&lt;P&gt;Then in console add dummy Sub say:&lt;/P&gt;&lt;P&gt;{code}&lt;/P&gt;&lt;P&gt;Public sub Test()&lt;/P&gt;&lt;P&gt;type Open in here, then select a word Open&lt;/P&gt;&lt;P&gt;by double click on them and press F1&lt;/P&gt;&lt;P&gt;See then all arguments in the Help file&lt;/P&gt;&lt;P&gt;End sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;{code}&lt;/P&gt;&lt;P&gt;Hint:&lt;/P&gt;&lt;P&gt;To convert any arguments to numeric values:&lt;/P&gt;&lt;P&gt;Open 'Immediate Window' in same editor and type here&lt;/P&gt;&lt;P&gt;any of&amp;nbsp;AutoCad's constants preceded with&amp;nbsp;question mark&amp;nbsp;like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;?acActiveViewPort&lt;/P&gt;&lt;P&gt;&amp;nbsp;or&lt;/P&gt;&lt;P&gt;?acSelectionSetAll&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;??acselectionSetCrossingPolygon&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;?acMiddleCenter&amp;nbsp;ETC, ETC&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then press Enter&lt;/P&gt;&lt;P&gt;You&amp;nbsp;should see&amp;nbsp;a numeric equivalent of this constant&lt;/P&gt;&lt;P&gt;&amp;nbsp;in&amp;nbsp;the same window next line below&lt;/P&gt;&lt;P&gt;So nothing smart it's just a lot of work, you have to digg deeper yourself&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 14:14:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/how-to-open-autocad-exe-in-c-please-help/m-p/3326943#M57362</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2012-02-10T14:14:21Z</dc:date>
    </item>
  </channel>
</rss>

