PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms FolderBrowserDialog.RootFolder not using special folder?

Reply

FolderBrowserDialog.RootFolder not using special folder?

 
Thread Tools Rate Thread
Old 25-07-2007, 08:52 PM   #1
engwar
Guest
 
Posts: n/a
Default FolderBrowserDialog.RootFolder not using special folder?


Is it possible to set the root folder of FolderBrowsserDialog to any
folder I want. ie c:\temp or something?

Haven't yet found a way to do this.

Thanks for any responses.

  Reply With Quote
Old 26-07-2007, 07:46 AM   #2
Morten Wennevik [C# MVP]
Guest
 
Posts: n/a
Default Re: FolderBrowserDialog.RootFolder not using special folder?

On Wed, 25 Jul 2007 21:52:38 +0200, engwar <engwar1@yahoo.com> wrote:

> Is it possible to set the root folder of FolderBrowsserDialog to any
> folder I want. ie c:\temp or something?
>
> Haven't yet found a way to do this.
>
> Thanks for any responses.
>
>


No, only folders defined as SpecialFolder. I'm not sure you can change a SpecialFolder to point to any folder either, and in any case it will probably be better to just create your own customized FolderBrowserDialog.

--
Happy coding!
Morten Wennevik [C# MVP]
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off