Is there a dialog box that I can you to allow users to change working directory?

  • Thread starter Thread starter steve bull
  • Start date Start date
S

steve bull

I see dialog boxes used all the time by apps that allow you to choose a directory. I can't find it in any of my books or on line.


Is there a C# provided dialog box for selecting a directory? And, is the usual convention that users should use a directory under My
Documents for saving files etc?


Thanks,

Steve
 
The FolderBrowserDialog should do what you are looking for. Its on the
toolbox under Dialogs or in code its in System.Windows.Forms

Chris
 
Hi,

You can open a folder select dialog and then set the
Environment.CurrentDirectory
 
I think what you saw is the FolderBrowserDialog. You can find it on the
toolbox in the Visual Studio designer, under Dialogs.

Adrian.
 
Back
Top