Documents Directory Help

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
2 posts Page 1 of 1
Contributors
User avatar
goldfox453
Just Registered
Just Registered
Posts: 9
Joined: Sun Nov 07, 2010 3:01 am

Documents Directory Help
goldfox453
I'm working on a program called desktop assistant and i need a button to open the documents directory of the user but i wouldn't like the user to specify i want it to automatically like i currently have this.
Code: Select all
 Process.Start("C:\Users\CJ\Documents")
it opens my documents directory but i want to know how to open any users document directory.
User avatar
PayneStudios
Dedicated Member
Dedicated Member
Posts: 66
Joined: Thu Sep 15, 2011 2:05 pm

Re: Documents Directory Help
PayneStudios
Use this
Code: Select all
Process.Start(My.Computer.FileSystem.SpecialDirectories.MyDocuments)
Greetz PayneStudios
2 posts Page 1 of 1
Return to “Coding Help & Support”