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
 
Bill,
I know that that can vary, so is there a class that contains these special folder?

System.Environment.GetFolderPath()



Mattias
 
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:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top