My Documents / Progrma Files directory question

  • Thread starter Thread starter Shawn Mehaffie
  • Start date Start date
S

Shawn Mehaffie

I have an application I want to be able to:

1) Store user specifc settings in ther "My Documents".

2) Store some information in "All Users" document directory.

3) I also want to be able to access program files that are installed in the
"Program Files" directory.

How can I get these locations from within a VB application.

S. Shawn Mehaffie
 
See: Environment.GetFolderPath function with an appropriate attribute

1. Environment.SpecialFolder.Personal
2. Environment.SpecialFolder.CommonApplicationData

3. Environment.SpecialFolder.ProgramFiles


Shawn Mehaffie said:
I have an application I want to be able to:

1) Store user specifc settings in ther "My Documents".

2) Store some information in "All Users" document directory.

3) I also want to be able to access program files that are installed in the
"Program Files" directory.

How can I get these locations from within a VB application.

Best regards,

Marcin Floryan
 
Back
Top