-3

Possible Duplicate:
How do you configure an OpenFileDialog to select folders?

My app uses the FolderBrowserDialog in Windows.Forms. I would prefer to use the folder browser used by VS2012 when you are deciding where to put a new project. Can someone point me to the correct class?

To be more specific, when you create a new project in VS2012 or VS2010, you get a new project dialog box. In that box you can click a browse button to set the location of project. A very nice dialog box is opened to let you select your folder. Here is a image on a Win 7 system.

Folder browser

Community
  • 1
  • 1
spainchaud
  • 365
  • 3
  • 12

1 Answers1

0

Are you asking how to make a default path for Open Dialog?

In the openFileDialog1 Properties find a field called initial directory and put C:\\Program Files\\MyFolder.

Next time you will use Open Dialog it will start with MyFolder folder from your C disk.

inside
  • 3,047
  • 10
  • 49
  • 75