Browse for folder or computer
In search for a dialog box to browse for a computer or a folder, I found three solutions but none is perfect:
- The .NET Framework includes the FolderBrowserDialog class, but it cannot be configured to browse for a computer
- Genghis includes the FolderNameDialog class, but there is a bug that prevents it to be used to browse for a computer
- This sample on The Code Project by Rama Krishna is also available, and works for computers
Note that they all rely on the system SHBrowseForFolder API function, which seems buggy (at least on Windows 2000) because you can't mix the "browse for computer" option with the other ones (including the new look)! Better know this.