Is there a way for a open file dialog to use the “My Computer” instead of a specific path. In this example, the W: drive is the intial directory.
Dim dlgOpen As New Microsoft.Win32.OpenFileDialog
dlgOpen.Filter = "Bases de données Access(*.mdb)|*.mdb"
dlgOpen.InitialDirectory = "W:"
I figure there must be a value or function that return the My Computer path, but what is it?
Thank you
My Computer is a virtual folder. It has a predefined GUID. Here is how you get My Computer
If you want to know about special folders
http://msdn.microsoft.com/en-us/library/system.environment.specialfolder.aspx
but be aware of