openfile dialog default path

hog

Senior Contributor
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.
 
Visual Basic:
od.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.Personal)
 
Back
Top