<?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: FolderBrowserDialog in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7319737#M30032</link>
    <description>&lt;P&gt;sorry _glie but this is not exactly right. here the (acet-ui-picdir) format:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#ff0000"&gt;(acet-ui-pickdir [message [startDir [caption]]])&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/EM&gt; &lt;FONT color="#0000ff"&gt;Displays a directory selection dialog.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt; Arguments&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt; message: If provided, a message to be displayed in the space above the directory tree control.&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt; startDir: If provided, the initial directory to be selected.&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt; caption: If provided, the dialog caption.&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt; Return Values&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt; A string containing the name of the selected directory, or nil if the dialog was canceled.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i agree&amp;nbsp;we can change the description but&amp;nbsp;i am looking for&amp;nbsp;&lt;EM&gt;&lt;FONT size="3"&gt;captain&lt;/FONT&gt;&lt;/EM&gt; args&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this is how i want&amp;nbsp; FolderBrowserDialog to be&amp;nbsp; (picture from &lt;FONT color="#000000"&gt;&lt;EM&gt;acet-ui-pickdir &lt;/EM&gt;&lt;/FONT&gt;)&lt;/P&gt;
&lt;P&gt;(note that&amp;nbsp;decripton field has only 1 line where FolderBrowserDialog displays 2 lines)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="browse.jpg" style="width: 334px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/392805iC981559CA3EEE327/image-size/large?v=v2&amp;amp;px=999" role="button" title="browse.jpg" alt="browse.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;Moshe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Aug 2017 18:11:21 GMT</pubDate>
    <dc:creator>Moshe-A</dc:creator>
    <dc:date>2017-08-22T18:11:21Z</dc:date>
    <item>
      <title>FolderBrowserDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7312848#M30024</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i'm writing a small c# program that creates a script file to be run from outside AutoCAD and have this issue:&lt;/P&gt;
&lt;P&gt;(the script will be running on series of dwg files)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FolderBrowserDialog class (see the picture) under&amp;nbsp;Microsoft VS 2015 comunity version&lt;/P&gt;
&lt;P&gt;i would like&amp;nbsp;to change&amp;nbsp;the Captain text + delete the extra empty line in the Description field and i can not find how?&lt;/P&gt;
&lt;P&gt;(can not find the fields to change in&amp;nbsp;the properties pane for the FolderBrowserDialog in VS)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks in advance&lt;/P&gt;
&lt;P&gt;Moshe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Aug 2017 07:45:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7312848#M30024</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2017-08-19T07:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: FolderBrowserDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7313256#M30025</link>
      <description>&lt;P&gt;Maybe you can? &amp;nbsp;I have not tried this. &amp;nbsp;&lt;A href="http://www.techtalkz.com/windows-help/76546-change-folderbrowserdialog-title-c-net.html" target="_blank"&gt;&amp;gt;&amp;gt;here&amp;lt;&amp;lt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's probably easier than creating your own.&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/12461016/alternative-to-folderbrowserdialog" target="_blank"&gt;&amp;gt;&amp;gt;here&amp;lt;&amp;lt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Aug 2017 16:34:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7313256#M30025</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2017-08-19T16:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: FolderBrowserDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7313395#M30026</link>
      <description>&lt;P&gt;thanks&amp;nbsp;Fieldguy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it looks like&amp;nbsp;heavy solution to simple problem&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what about deleting the empty description line?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i will try that later&amp;nbsp;and inform here&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Aug 2017 20:02:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7313395#M30026</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2017-08-19T20:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: FolderBrowserDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7313443#M30027</link>
      <description>&lt;P&gt;i agree with the heavy solution to a simple problem. &amp;nbsp;maybe there is public domain library that offers an alternative. it looks like the WPF control offers more flexibility but i could be wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there is an alternative&amp;nbsp;&lt;A href="https://github.com/scottwis/OpenFileOrFolderDialog" target="_blank"&gt;&amp;gt;&amp;gt;here&amp;lt;&amp;lt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;what about deleting the empty description line?&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;i don't think you can. &amp;nbsp;i believe the height of the space between the title and the tree view will never change (if that's what you are referring to) - regardless of the length of the text (0 to many characters). the few form controls are anchored top left and the description field text wraps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Aug 2017 20:58:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7313443#M30027</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2017-08-19T20:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: FolderBrowserDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7317815#M30028</link>
      <description>&lt;P&gt;fieldguy,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;check (acet-ui-pickdir) lisp function from express tools, this one let us&amp;nbsp;do exactly what i want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Moshe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 05:14:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7317815#M30028</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2017-08-22T05:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: FolderBrowserDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7318988#M30029</link>
      <description>&lt;P&gt;you should mark your solution as accepted&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 13:56:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7318988#M30029</guid>
      <dc:creator>fieldguy</dc:creator>
      <dc:date>2017-08-22T13:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: FolderBrowserDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7319314#M30030</link>
      <description>&lt;P&gt;Solusion? i still not have it&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(acet-ui-pickdir) is inside AutoCAD, my program is from outside AutoCAD&lt;/P&gt;
&lt;P&gt;and if there is a way to use this function from outside, i do not know how&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 15:35:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7319314#M30030</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2017-08-22T15:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: FolderBrowserDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7319561#M30031</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;            var browser = new FolderBrowserDialog();
            browser.ShowNewFolderButton = false;
            browser.ShowDialog();&lt;/PRE&gt;
&lt;P&gt;displays the same as (acet-ui-pickdir)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="folder_browser_1.png" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/392783iC7F30FB6F5E6A4B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="folder_browser_1.png" alt="folder_browser_1.png" /&gt;&lt;/span&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;PRE&gt;            var browser = new FolderBrowserDialog();
            browser.Description = "Some description";
            browser.ShowNewFolderButton = false;
            browser.ShowDialog();&lt;/PRE&gt;
&lt;P&gt;displays the same as (acet-ui-pickdir "Some description")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="folder_browser_2.png" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/392784iA62536EFC30990EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="folder_browser_2.png" alt="folder_browser_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 16:59:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7319561#M30031</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2017-08-22T16:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: FolderBrowserDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7319737#M30032</link>
      <description>&lt;P&gt;sorry _glie but this is not exactly right. here the (acet-ui-picdir) format:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#ff0000"&gt;(acet-ui-pickdir [message [startDir [caption]]])&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/EM&gt; &lt;FONT color="#0000ff"&gt;Displays a directory selection dialog.&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt; Arguments&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt; message: If provided, a message to be displayed in the space above the directory tree control.&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt; startDir: If provided, the initial directory to be selected.&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt; caption: If provided, the dialog caption.&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt; Return Values&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000ff"&gt; A string containing the name of the selected directory, or nil if the dialog was canceled.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i agree&amp;nbsp;we can change the description but&amp;nbsp;i am looking for&amp;nbsp;&lt;EM&gt;&lt;FONT size="3"&gt;captain&lt;/FONT&gt;&lt;/EM&gt; args&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this is how i want&amp;nbsp; FolderBrowserDialog to be&amp;nbsp; (picture from &lt;FONT color="#000000"&gt;&lt;EM&gt;acet-ui-pickdir &lt;/EM&gt;&lt;/FONT&gt;)&lt;/P&gt;
&lt;P&gt;(note that&amp;nbsp;decripton field has only 1 line where FolderBrowserDialog displays 2 lines)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="browse.jpg" style="width: 334px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/392805iC981559CA3EEE327/image-size/large?v=v2&amp;amp;px=999" role="button" title="browse.jpg" alt="browse.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;Moshe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 18:11:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7319737#M30032</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2017-08-22T18:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: FolderBrowserDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7319859#M30033</link>
      <description>&lt;P&gt;As far as I know, there's no way to change the caption/title of the System.Windows.Forms.FolderBrowserDialog.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 18:51:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7319859#M30033</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2017-08-22T18:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: FolderBrowserDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7319868#M30034</link>
      <description>&lt;P&gt;thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2017 18:56:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7319868#M30034</guid>
      <dc:creator>Moshe-A</dc:creator>
      <dc:date>2017-08-22T18:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: FolderBrowserDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7324470#M30035</link>
      <description>&lt;P&gt;I use the CommonOpenFileDialog from the Windows 7 API Code Pack on NuGet. &amp;nbsp;It was published by Microsoft and I have had no problems with it. &amp;nbsp;The dialog looks like the picture below. &amp;nbsp;I hated not having the address bar or favorites of the other options.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/393510i8AD846B63B3CF2C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2017 04:44:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/7324470#M30035</guid>
      <dc:creator>zputman</dc:creator>
      <dc:date>2017-08-24T04:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: FolderBrowserDialog</title>
      <link>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/8723252#M30036</link>
      <description>&lt;P&gt;Yes this can't be understated:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;otherwise the select folder dialog box will open up at the root folder and that too, without menus and favourites. If this is repetitive action, it will grow old, very quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This stack overflow answer was particularly helpful:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/a/41511598/4880924" target="_blank"&gt;https://stackoverflow.com/a/41511598/4880924&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 11:41:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/folderbrowserdialog/m-p/8723252#M30036</guid>
      <dc:creator>BKSpurgeon</dc:creator>
      <dc:date>2019-04-11T11:41:14Z</dc:date>
    </item>
  </channel>
</rss>

