My Documents path

angula

Active member
Joined
Jul 11, 2003
Messages
35
Can someone point me to the function that returns the current users My Documents folder path?
 
Use the GetFolderPath method of the system.Environment class. It will return a path to a special folder that you specify using the system.Environment.SpecialFolder enumeration.
Code:
Dim mydocs as String = system.Environment.GetFolderPath(Environment.SpecialFolder.Personal)
 
Back
Top