openfile dialog default path

hog

Well-known member
Joined
Mar 17, 2003
Messages
984
Location
UK
Is there a way to have the openfile dialog box open in the logged on users My Documents folder.

I presume this would require knowing the user logon, to be got with the API WNetGetUser perhaps.
 
Code:
od.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal)
 
Back
Top