5

There is no SelectFolderDialog in .NET but It is present itself in Visual Studio 2010.

I was wondering if there is any external .net component like this form.

Here is the VS2010 Dialog :

SelectFolderDialog

Please Note that I dont want to use the FolderBrowserDialog and I need to get the Specific UI described in the SelectFolderDialog

1
  • 4
    Indeed, the FolderBrowserDialog is horrid.
    – ericosg
    Commented May 25, 2012 at 13:19

2 Answers 2

3

Here is a library that provides access to the folder browser dialog etc. http://www.ookii.org/software/dialogs/

It is a wrapper around several Win32 dialogs, it provides both a Windows Forms and WPF variant, and it provides the "Vista style" SelectFolderDialog that you have displayed for example.

2

To gain access to the posh new Vista folder selection dialog then I believe that you need to either:

  1. Use a third party component, or
  2. Use the native IFileDialog component.

Option 2 is easy enough using the Windows API CodePack. You need to include the FOS_PICKFOLDERS option. The CodePack comes with lots of examples. I commend it to you.

5
  • I can use it but i want the specific ui described in the "SelectFolderDialog".
    – Writwick
    Commented May 25, 2012 at 13:19
  • 2
    yes, the FolderBrowserDialog is one of those controls I hate seeing in apps, especially when I've come from copying the path to the folder I need, only to find there's no place to paste!
    – ericosg
    Commented May 25, 2012 at 13:21
  • July 2023: CodePack link is dead.
    – fadden
    Commented Jul 27, 2023 at 23:22
  • @fadden rather than add a comment, you should edit the post to fix the broken link Commented Jul 28, 2023 at 13:35
  • @DavidHeffernan: I did spend some time looking for a working link, but was unable to find one.
    – fadden
    Commented Jul 28, 2023 at 14:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.