<?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: Set &amp;quot;Start in&amp;quot; from VB in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/set-quot-start-in-quot-from-vb/m-p/302396#M65967</link>
    <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;You can use the vb function CurDir, however if you &lt;BR /&gt;
have the sysvar REMEMBERFOLDERS set to 1, that value is not used. The folder &lt;BR /&gt;
location is then retrieved from the registry. There are several keys used, &lt;BR /&gt;
depending on which dialog you are calling. For example: &lt;BR /&gt;
"HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-2:409\Profiles\PlainAcad\Dialogs\OpenSaveAnavDialogs\InitialDirectory". &lt;BR /&gt;
InitialDirectory can be found in several places.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;BR /&gt;-- &lt;BR /&gt;Ed&lt;BR /&gt;--&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;"dolphan" &amp;lt;&lt;A&gt;&lt;BR /&gt;
  href="mailto:johannes@cadcam-it.se"&amp;gt;johannes@cadcam-it.se&lt;/A&gt;&amp;gt; wrote in &lt;BR /&gt;
  message &lt;A&gt;&lt;BR /&gt;
  href="news:f142c3d.-1@WebX.maYIadrTaRb"&amp;gt;news:f142c3d.-1@WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;I &lt;BR /&gt;
  know that you can set "Start in" on a shortcut. But is it possible to set the &lt;BR /&gt;
  folder, that AutoCAD starts from, in VB? &lt;BR /&gt;I'm using Set oACApp = &lt;BR /&gt;
  CreateObject("AutoCAD.Application") to start AutoCAD.&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Wed, 12 Feb 2003 08:31:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2003-02-12T08:31:55Z</dc:date>
    <item>
      <title>Set "Start in" from VB</title>
      <link>https://forums.autodesk.com/t5/vba-forum/set-quot-start-in-quot-from-vb/m-p/302395#M65966</link>
      <description>I know that you can set "Start in" on a shortcut. But is it possible to set the folder, that AutoCAD starts from, in VB? &lt;BR /&gt;
I'm using Set oACApp = CreateObject("AutoCAD.Application") to start AutoCAD.</description>
      <pubDate>Wed, 12 Feb 2003 03:21:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/set-quot-start-in-quot-from-vb/m-p/302395#M65966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-02-12T03:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set "Start in" from VB</title>
      <link>https://forums.autodesk.com/t5/vba-forum/set-quot-start-in-quot-from-vb/m-p/302396#M65967</link>
      <description>&lt;DIV&gt;&lt;FONT face="Arial" size="2"&gt;You can use the vb function CurDir, however if you &lt;BR /&gt;
have the sysvar REMEMBERFOLDERS set to 1, that value is not used. The folder &lt;BR /&gt;
location is then retrieved from the registry. There are several keys used, &lt;BR /&gt;
depending on which dialog you are calling. For example: &lt;BR /&gt;
"HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-2:409\Profiles\PlainAcad\Dialogs\OpenSaveAnavDialogs\InitialDirectory". &lt;BR /&gt;
InitialDirectory can be found in several places.&lt;/FONT&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;&lt;BR /&gt;-- &lt;BR /&gt;Ed&lt;BR /&gt;--&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"&amp;gt;&lt;BR /&gt;
  &lt;DIV&gt;"dolphan" &amp;lt;&lt;A&gt;&lt;BR /&gt;
  href="mailto:johannes@cadcam-it.se"&amp;gt;johannes@cadcam-it.se&lt;/A&gt;&amp;gt; wrote in &lt;BR /&gt;
  message &lt;A&gt;&lt;BR /&gt;
  href="news:f142c3d.-1@WebX.maYIadrTaRb"&amp;gt;news:f142c3d.-1@WebX.maYIadrTaRb&lt;/A&gt;...&lt;/DIV&gt;I &lt;BR /&gt;
  know that you can set "Start in" on a shortcut. But is it possible to set the &lt;BR /&gt;
  folder, that AutoCAD starts from, in VB? &lt;BR /&gt;I'm using Set oACApp = &lt;BR /&gt;
  CreateObject("AutoCAD.Application") to start AutoCAD.&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 12 Feb 2003 08:31:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/set-quot-start-in-quot-from-vb/m-p/302396#M65967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2003-02-12T08:31:55Z</dc:date>
    </item>
  </channel>
</rss>

