FolderBrowserDialog.RootFolder not using special folder?

  • Thread starter Thread starter engwar
  • Start date Start date
E

engwar

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.
 
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.
 
The built-in FolderBrowserDialog only allows you to specify one of the SpecialFolders as the root folder. If you want to specify a different root folder (like a file system folder), use a custom control like FolderView
 
Back
Top