Special Folders

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want the initial directory of my save file dialog to be the My Documents folder. I know that that can vary, so is there a class that contains these special folder? What I would like is

OpenFileDialog.InitialDirectory = Class.MyDocuments
 
Take a look at Environment.SpecialFolder. I believe it's the one called
"personal" you are looking for.

HTH

Yves

Bill English said:
I want the initial directory of my save file dialog to be the My Documents
folder. I know that that can vary, so is there a class that contains these
special folder? What I would like is:
 
Back
Top