<?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: acad.exe path.. in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450169#M71387</link>
    <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
But as this is an internal program (to autocad) it's the "running&lt;BR /&gt;
version" I care about.&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="moz-signature"&gt;&lt;FONT color="#000000"&gt;&lt;B&gt;Work&lt;/B&gt;: VISTA&lt;BR /&gt;
Ultimate/Windows 7 x32 - &lt;I&gt;AMD 64 X2 Dual Core 4200 2.2GHz, 4 Gigs&lt;BR /&gt;
Ram, &lt;FONT color="#666666"&gt;GeForce 6800GS 256MB&lt;/FONT&gt;&lt;/I&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;FONT color="#000000"&gt;&lt;B&gt;Home&lt;/B&gt;: VISTA Ultimate x64 - &lt;I&gt;AMD 64 Quad&lt;BR /&gt;
Core 2.2GHz, 8 Gigs Ram, &lt;FONT color="#666666"&gt;GeForce 8600GT 512MB&lt;/FONT&gt;&lt;/I&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;FONT color="#000000"&gt;&lt;B&gt;Laptop (17" HP)&lt;/B&gt;: VISTA Premium x32 - &lt;/FONT&gt;&lt;I&gt;&lt;FONT&gt;&lt;BR /&gt;
 color="#000000"&amp;gt;AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram, &lt;FONT&gt;&lt;BR /&gt;
 color="#666666"&amp;gt;Nvidia GeForce 6150&lt;/FONT&gt;&lt;/FONT&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
Tony Tanzillo wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE cite="mid:6145124@discussion.autodesk.com" type="cite"&gt;&lt;BR /&gt;
  &lt;PRE wrap=""&gt;(findfile) gives you the location of the AutoCAD that you're running under.&lt;BR /&gt;
&lt;BR /&gt;
The process I described gives you the AutoCAD that starts if you&lt;BR /&gt;
double click a drawing file in Explorer, and can be used when there&lt;BR /&gt;
is no running AutoCAD.&lt;BR /&gt;
&lt;BR /&gt;
  &lt;/PRE&gt;&lt;BR /&gt;
&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;

&lt;/DIV&gt;</description>
    <pubDate>Thu, 19 Mar 2009 15:51:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-03-19T15:51:59Z</dc:date>
    <item>
      <title>acad.exe path..</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450159#M71377</link>
      <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
How would I go about getting the Path location of acad.exe with&lt;BR /&gt;
vb.net?&amp;nbsp; (so i don't have to hard code it)&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="moz-signature"&gt;-- &lt;BR /&gt;&lt;BR /&gt;
&lt;FONT color="#000000"&gt;&lt;B&gt;Work&lt;/B&gt;: VISTA Ultimate/Windows 7 x32 - &lt;I&gt;AMD&lt;BR /&gt;
64 X2 Dual Core 4200 2.2GHz, 4 Gigs Ram, &lt;FONT color="#666666"&gt;GeForce&lt;BR /&gt;
6800GS 256MB&lt;/FONT&gt;&lt;/I&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;FONT color="#000000"&gt;&lt;B&gt;Home&lt;/B&gt;: VISTA Ultimate x64 - &lt;I&gt;AMD 64 Quad&lt;BR /&gt;
Core 2.2GHz, 8 Gigs Ram, &lt;FONT color="#666666"&gt;GeForce 8600GT 512MB&lt;/FONT&gt;&lt;/I&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;FONT color="#000000"&gt;&lt;B&gt;Laptop (17" HP)&lt;/B&gt;: VISTA Premium x32 - &lt;/FONT&gt;&lt;I&gt;&lt;FONT&gt;&lt;BR /&gt;
 color="#000000"&amp;gt;AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram, &lt;FONT&gt;&lt;BR /&gt;
 color="#666666"&amp;gt;Nvidia GeForce 6150&lt;/FONT&gt;&lt;/FONT&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;BR /&gt;

&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Mar 2009 17:03:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450159#M71377</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-18T17:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: acad.exe path..</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450160#M71378</link>
      <description>I went round and round about this some time ago, while trying to create a setup wizard for my program that would create a proper desktop shortcut with the profile and workspace specified.  I searched all over the registry and ended up with the following code, which attempts to get the registry entry for the 'Current' drawing version, then goes to the registry entry for that version that tells windows what program to use as the 'File Editing Server'.&lt;BR /&gt;&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;Try&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;Dim DwgCurVer As String = My.Computer.Registry.GetValue("HKEY_CLASSES_ROOT\AutoCAD.Drawing\CurVer", "", "")&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;If Not DwgCurVer = "" Then AcadPath = My.Computer.Registry.GetValue("HKEY_CLASSES_ROOT\" &amp;amp; DwgCurVer &amp;amp; "\protocol\StdFileEditing\server", "", "")&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;Catch ex As Exception&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;MsgBox(ex.Message, MsgBoxStyle.Critical, "AutoCAD Path Not Found")&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;Return&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;End Try&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If anyone has a better way I'm all ears.  There is another entry which I was not inclined to use because part of the Key string has version info in it. &lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;BR /&gt;AcadPath = My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R17.0\ACAD-6001:409", "AcadLocation", "")&lt;BR /&gt;&lt;BR /&gt;The method I used (above) has one drawback (or bonus feature, depending on how you look at it).  If the machine in question has more than one version of AutoCAD on it, which many of my users do, the 'CurVer' variable will be set to the version they opened last, not the most current version on the machine.&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2009 17:36:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450160#M71378</guid>
      <dc:creator>chiefbraincloud</dc:creator>
      <dc:date>2009-03-18T17:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: acad.exe path..</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450161#M71379</link>
      <description>If what you want is the AutoCAD that starts when you double-click a .DWG &lt;BR /&gt;
file (where it may be possible that there's several releases/flavors &lt;BR /&gt;
installed), then it's a fairly involved process:&lt;BR /&gt;
&lt;BR /&gt;
First, open this key and get the 'CurVer' value:&lt;BR /&gt;
&lt;BR /&gt;
   HKEY_CURRENT_USER\Software\Autodesk\AutoCAD&lt;BR /&gt;
&lt;BR /&gt;
The value of that will be one of the subkeys of the above key, and&lt;BR /&gt;
then you open that key, and get the value of it's CurVer:&lt;BR /&gt;
&lt;BR /&gt;
   HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\RXX.X\&lt;BR /&gt;
&lt;BR /&gt;
Where "RXX.X" is the value of the CurVer of the first key.&lt;BR /&gt;
&lt;BR /&gt;
The result will be something like "ACAD-XXXX:XXX".&lt;BR /&gt;
&lt;BR /&gt;
Now, you take that value, along with the 'RXX.X' and&lt;BR /&gt;
construct another new key in HKEY_LOCAL_MACHINE:&lt;BR /&gt;
&lt;BR /&gt;
   HKEY_LOCAL_MACHINE\Software\Autodesk\AutoCAD\RXX.XX\ACAD-XXXX:XXXX&lt;BR /&gt;
&lt;BR /&gt;
Where RXX.X and ACAD-XXXX:XXXX were the values read&lt;BR /&gt;
from the above keys.&lt;BR /&gt;
&lt;BR /&gt;
Open that key, and read the AcadLocation value to get the location&lt;BR /&gt;
of the AutoCAD application.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2009&lt;BR /&gt;
Supporting AutoCAD 2000 through 2009&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Introducing AcadXTabs 2010:&lt;BR /&gt;
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"C Witt" &lt;CWITT_AT_TRKENG.COM&gt; wrote in message &lt;BR /&gt;
news:6144462@discussion.autodesk.com...&lt;BR /&gt;
How would I go about getting the Path location of acad.exe with vb.net?  (so &lt;BR /&gt;
i don't have to hard code it)&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
Work: VISTA Ultimate/Windows 7 x32 - AMD 64 X2 Dual Core 4200 2.2GHz, 4 Gigs &lt;BR /&gt;
Ram, GeForce 6800GS 256MB&lt;BR /&gt;
Home: VISTA Ultimate x64 - AMD 64 Quad Core 2.2GHz, 8 Gigs Ram, GeForce &lt;BR /&gt;
8600GT 512MB&lt;BR /&gt;
Laptop (17" HP): VISTA Premium x32 - AMD Turion X2 Dual Core TL-50 1.6GHz, 2 &lt;BR /&gt;
Gigs Ram, Nvidia GeForce 6150&lt;/CWITT_AT_TRKENG.COM&gt;</description>
      <pubDate>Wed, 18 Mar 2009 18:50:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450161#M71379</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-18T18:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: acad.exe path..</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450162#M71380</link>
      <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
ok..&amp;nbsp; guess it's not even close to being as simple as it is in lisp..&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
I'll have to figure a way to keep the current method then..&amp;nbsp;&amp;nbsp; (findfile&lt;BR /&gt;
"acad.exe")&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="moz-signature"&gt;&lt;FONT color="#000000"&gt;&lt;B&gt;Work&lt;/B&gt;: VISTA&lt;BR /&gt;
Ultimate/Windows 7 x32 - &lt;I&gt;AMD 64 X2 Dual Core 4200 2.2GHz, 4 Gigs&lt;BR /&gt;
Ram, &lt;FONT color="#666666"&gt;GeForce 6800GS 256MB&lt;/FONT&gt;&lt;/I&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;FONT color="#000000"&gt;&lt;B&gt;Home&lt;/B&gt;: VISTA Ultimate x64 - &lt;I&gt;AMD 64 Quad&lt;BR /&gt;
Core 2.2GHz, 8 Gigs Ram, &lt;FONT color="#666666"&gt;GeForce 8600GT 512MB&lt;/FONT&gt;&lt;/I&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;FONT color="#000000"&gt;&lt;B&gt;Laptop (17" HP)&lt;/B&gt;: VISTA Premium x32 - &lt;/FONT&gt;&lt;I&gt;&lt;FONT&gt;&lt;BR /&gt;
 color="#000000"&amp;gt;AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram, &lt;FONT&gt;&lt;BR /&gt;
 color="#666666"&amp;gt;Nvidia GeForce 6150&lt;/FONT&gt;&lt;/FONT&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
Tony Tanzillo wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE cite="mid:6144562@discussion.autodesk.com" type="cite"&gt;&lt;BR /&gt;
  &lt;PRE wrap=""&gt;If what you want is the AutoCAD that starts when you double-click a .DWG &lt;BR /&gt;
file (where it may be possible that there's several releases/flavors &lt;BR /&gt;
installed), then it's a fairly involved process:&lt;BR /&gt;
&lt;BR /&gt;
First, open this key and get the 'CurVer' value:&lt;BR /&gt;
&lt;BR /&gt;
   HKEY_CURRENT_USER\Software\Autodesk\AutoCAD&lt;BR /&gt;
&lt;BR /&gt;
The value of that will be one of the subkeys of the above key, and&lt;BR /&gt;
then you open that key, and get the value of it's CurVer:&lt;BR /&gt;
&lt;BR /&gt;
   HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\RXX.X\&lt;BR /&gt;
&lt;BR /&gt;
Where "RXX.X" is the value of the CurVer of the first key.&lt;BR /&gt;
&lt;BR /&gt;
The result will be something like "ACAD-XXXX:XXX".&lt;BR /&gt;
&lt;BR /&gt;
Now, you take that value, along with the 'RXX.X' and&lt;BR /&gt;
construct another new key in HKEY_LOCAL_MACHINE:&lt;BR /&gt;
&lt;BR /&gt;
   HKEY_LOCAL_MACHINE\Software\Autodesk\AutoCAD\RXX.XX\ACAD-XXXX:XXXX&lt;BR /&gt;
&lt;BR /&gt;
Where RXX.X and ACAD-XXXX:XXXX were the values read&lt;BR /&gt;
from the above keys.&lt;BR /&gt;
&lt;BR /&gt;
Open that key, and read the AcadLocation value to get the location&lt;BR /&gt;
of the AutoCAD application.&lt;BR /&gt;
&lt;BR /&gt;
  &lt;/PRE&gt;&lt;BR /&gt;
&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;

&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Mar 2009 19:54:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450162#M71380</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-18T19:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: acad.exe path..</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450163#M71381</link>
      <description>How do you get it in lisp?</description>
      <pubDate>Wed, 18 Mar 2009 21:37:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450163#M71381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-18T21:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: acad.exe path..</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450164#M71382</link>
      <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
. . . . . . .&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
(findfile&lt;BR /&gt;
"acad.exe")&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="moz-signature"&gt;&lt;FONT color="#000000"&gt;&lt;B&gt;Work&lt;/B&gt;: VISTA&lt;BR /&gt;
Ultimate/Windows 7 x32 - &lt;I&gt;AMD 64 X2 Dual Core 4200 2.2GHz, 4 Gigs&lt;BR /&gt;
Ram, &lt;FONT color="#666666"&gt;GeForce 6800GS 256MB&lt;/FONT&gt;&lt;/I&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;FONT color="#000000"&gt;&lt;B&gt;Home&lt;/B&gt;: VISTA Ultimate x64 - &lt;I&gt;AMD 64 Quad&lt;BR /&gt;
Core 2.2GHz, 8 Gigs Ram, &lt;FONT color="#666666"&gt;GeForce 8600GT 512MB&lt;/FONT&gt;&lt;/I&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;FONT color="#000000"&gt;&lt;B&gt;Laptop (17" HP)&lt;/B&gt;: VISTA Premium x32 - &lt;/FONT&gt;&lt;I&gt;&lt;FONT&gt;&lt;BR /&gt;
 color="#000000"&amp;gt;AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram, &lt;FONT&gt;&lt;BR /&gt;
 color="#666666"&amp;gt;Nvidia GeForce 6150&lt;/FONT&gt;&lt;/FONT&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
NathTay wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE cite="mid:6144741@discussion.autodesk.com" type="cite"&gt;How&lt;BR /&gt;
do you get it in lisp?&lt;BR /&gt;
&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;

&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Mar 2009 21:51:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450164#M71382</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-18T21:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: acad.exe path..</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450165#M71383</link>
      <description>http://msdn.microsoft.com/en-us/library/t71ykwhb.aspx</description>
      <pubDate>Wed, 18 Mar 2009 22:24:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450165#M71383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-18T22:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: acad.exe path..</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450166#M71384</link>
      <description>It is pretty easy just add the following function and call it in your code:&lt;BR /&gt;
{code}&lt;BR /&gt;
    Public Function GetAcadPath() As String&lt;BR /&gt;
        Dim prodId As String = Autodesk.AutoCAD.Runtime.SystemObjects.DynamicLinker.ProductKey&lt;BR /&gt;
        Dim strPath As String = My.Computer.Registry.LocalMachine.OpenSubKey(prodId).GetValue("AcadLocation")&lt;BR /&gt;
        Return strPath&lt;BR /&gt;
    End Function&lt;BR /&gt;
{code}&lt;BR /&gt;
&lt;BR /&gt;
HTH,&lt;BR /&gt;
Joshua Modglin&lt;BR /&gt;
Engineered Efficiency&lt;BR /&gt;
Web: http://www.eng-eff.com&lt;BR /&gt;
Blog: http://www.civil3d.com</description>
      <pubDate>Wed, 18 Mar 2009 22:42:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450166#M71384</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-18T22:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: acad.exe path..</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450167#M71385</link>
      <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
nice.&amp;nbsp;&amp;nbsp; thank you.&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="moz-signature"&gt;&lt;FONT color="#000000"&gt;&lt;B&gt;Work&lt;/B&gt;: VISTA&lt;BR /&gt;
Ultimate/Windows 7 x32 - &lt;I&gt;AMD 64 X2 Dual Core 4200 2.2GHz, 4 Gigs&lt;BR /&gt;
Ram, &lt;FONT color="#666666"&gt;GeForce 6800GS 256MB&lt;/FONT&gt;&lt;/I&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;FONT color="#000000"&gt;&lt;B&gt;Home&lt;/B&gt;: VISTA Ultimate x64 - &lt;I&gt;AMD 64 Quad&lt;BR /&gt;
Core 2.2GHz, 8 Gigs Ram, &lt;FONT color="#666666"&gt;GeForce 8600GT 512MB&lt;/FONT&gt;&lt;/I&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;FONT color="#000000"&gt;&lt;B&gt;Laptop (17" HP)&lt;/B&gt;: VISTA Premium x32 - &lt;/FONT&gt;&lt;I&gt;&lt;FONT&gt;&lt;BR /&gt;
 color="#000000"&amp;gt;AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram, &lt;FONT&gt;&lt;BR /&gt;
 color="#666666"&amp;gt;Nvidia GeForce 6150&lt;/FONT&gt;&lt;/FONT&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
JoshuaModglin wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE cite="mid:6144826@discussion.autodesk.com" type="cite"&gt;It&lt;BR /&gt;
is pretty easy just add the following function and call it in your&lt;BR /&gt;
code:&lt;BR /&gt;
{code} Public Function GetAcadPath() As String Dim prodId As String =&lt;BR /&gt;
Autodesk.AutoCAD.Runtime.SystemObjects.DynamicLinker.ProductKey Dim&lt;BR /&gt;
strPath As String =&lt;BR /&gt;
My.Computer.Registry.LocalMachine.OpenSubKey(prodId).GetValue("AcadLocation")&lt;BR /&gt;
Return strPath End Function&lt;BR /&gt;
{code}&lt;BR /&gt;
HTH,&lt;BR /&gt;
Joshua Modglin&lt;BR /&gt;
Engineered Efficiency&lt;BR /&gt;
Web: &lt;A class="moz-txt-link-freetext" href="http://www.eng-eff.com"&gt;http://www.eng-eff.com&lt;/A&gt;&lt;BR /&gt;
Blog: &lt;A class="moz-txt-link-freetext" href="http://www.civil3d.com"&gt;http://www.civil3d.com&lt;/A&gt;&lt;BR /&gt;
&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;

&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 Mar 2009 23:18:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450167#M71385</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-18T23:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: acad.exe path..</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450168#M71386</link>
      <description>(findfile) gives you the location of the AutoCAD that you're running under.&lt;BR /&gt;
&lt;BR /&gt;
The process I described gives you the AutoCAD that starts if you&lt;BR /&gt;
double click a drawing file in Explorer, and can be used when there&lt;BR /&gt;
is no running AutoCAD.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
http://www.caddzone.com&lt;BR /&gt;
&lt;BR /&gt;
AcadXTabs: MDI Document Tabs for AutoCAD 2009&lt;BR /&gt;
Supporting AutoCAD 2000 through 2009&lt;BR /&gt;
&lt;BR /&gt;
http://www.acadxtabs.com&lt;BR /&gt;
&lt;BR /&gt;
Introducing AcadXTabs 2010:&lt;BR /&gt;
http://www.caddzone.com/acadxtabs/AcadXTabs2010.htm&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"C Witt" &lt;CWITT_AT_TRKENG.COM&gt; wrote in message &lt;BR /&gt;
news:6144793@discussion.autodesk.com...&lt;BR /&gt;
. . . . . . .&lt;BR /&gt;
&lt;BR /&gt;
(findfile "acad.exe")&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Work: VISTA Ultimate/Windows 7 x32 - AMD 64 X2 Dual Core 4200 2.2GHz, 4 Gigs &lt;BR /&gt;
Ram, GeForce 6800GS 256MB&lt;BR /&gt;
Home: VISTA Ultimate x64 - AMD 64 Quad Core 2.2GHz, 8 Gigs Ram, GeForce &lt;BR /&gt;
8600GT 512MB&lt;BR /&gt;
Laptop (17" HP): VISTA Premium x32 - AMD Turion X2 Dual Core TL-50 1.6GHz, 2 &lt;BR /&gt;
Gigs Ram, Nvidia GeForce 6150&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
NathTay wrote:&lt;BR /&gt;
  How do you get it in lisp?&lt;/CWITT_AT_TRKENG.COM&gt;</description>
      <pubDate>Thu, 19 Mar 2009 13:28:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450168#M71386</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-19T13:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: acad.exe path..</title>
      <link>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450169#M71387</link>
      <description>&lt;DIV id="jive-html-wrapper-div"&gt;
&lt;BR /&gt;
But as this is an internal program (to autocad) it's the "running&lt;BR /&gt;
version" I care about.&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="moz-signature"&gt;&lt;FONT color="#000000"&gt;&lt;B&gt;Work&lt;/B&gt;: VISTA&lt;BR /&gt;
Ultimate/Windows 7 x32 - &lt;I&gt;AMD 64 X2 Dual Core 4200 2.2GHz, 4 Gigs&lt;BR /&gt;
Ram, &lt;FONT color="#666666"&gt;GeForce 6800GS 256MB&lt;/FONT&gt;&lt;/I&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;FONT color="#000000"&gt;&lt;B&gt;Home&lt;/B&gt;: VISTA Ultimate x64 - &lt;I&gt;AMD 64 Quad&lt;BR /&gt;
Core 2.2GHz, 8 Gigs Ram, &lt;FONT color="#666666"&gt;GeForce 8600GT 512MB&lt;/FONT&gt;&lt;/I&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;FONT color="#000000"&gt;&lt;B&gt;Laptop (17" HP)&lt;/B&gt;: VISTA Premium x32 - &lt;/FONT&gt;&lt;I&gt;&lt;FONT&gt;&lt;BR /&gt;
 color="#000000"&amp;gt;AMD Turion X2 Dual Core TL-50 1.6GHz, 2 Gigs Ram, &lt;FONT&gt;&lt;BR /&gt;
 color="#666666"&amp;gt;Nvidia GeForce 6150&lt;/FONT&gt;&lt;/FONT&gt;&lt;/I&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
&lt;BR /&gt;&lt;BR /&gt;
Tony Tanzillo wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE cite="mid:6145124@discussion.autodesk.com" type="cite"&gt;&lt;BR /&gt;
  &lt;PRE wrap=""&gt;(findfile) gives you the location of the AutoCAD that you're running under.&lt;BR /&gt;
&lt;BR /&gt;
The process I described gives you the AutoCAD that starts if you&lt;BR /&gt;
double click a drawing file in Explorer, and can be used when there&lt;BR /&gt;
is no running AutoCAD.&lt;BR /&gt;
&lt;BR /&gt;
  &lt;/PRE&gt;&lt;BR /&gt;
&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;

&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Mar 2009 15:51:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/acad-exe-path/m-p/2450169#M71387</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-19T15:51:59Z</dc:date>
    </item>
  </channel>
</rss>

