[HELP]Finding someones desktop location[Solved]

Posts 14 of 4 · Page 1 of 1
[HELP]Finding someones desktop location[Solved]
How would I get someone's desktop location into a textbox automatically, so they wont have to type it in manually?
Like this:
C:\Users\******\Desktop
But where the stars are (The name of their cpu account), is what I'm wanting my program to get automatically
Code:
Dim deskt as String = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory)
Quote Originally Posted by Lolland View Post
Code:
Dim deskt as String = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory)
How would I make that go to a textbox?
Code:
Textbox1.Text = deskt
??
Yeah. Exactly.


Edit: Marked solved, you told me so on MSN.

Don't bump for >7 days yatta yatta yatta.
Posts 14 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?