Results 1 to 4 of 4
  1. #1
    Pixie's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Pixie wird wieder steigen.
    Posts
    1,884
    Reputation
    22
    Thanks
    229
    My Mood
    Fine

    [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

  2. #2
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    Code:
    Dim deskt as String = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory)
    Last edited by Lolland; 06-23-2010 at 12:53 PM.

  3. #3
    Pixie's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Pixie wird wieder steigen.
    Posts
    1,884
    Reputation
    22
    Thanks
    229
    My Mood
    Fine
    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
    ??

  4. #4
    Lolland's Avatar
    Join Date
    Feb 2009
    Gender
    male
    Location
    Lolland!
    Posts
    3,156
    Reputation
    49
    Thanks
    868
    My Mood
    Inspired
    Yeah. Exactly.


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

    Don't bump for >7 days yatta yatta yatta.
    Last edited by Lolland; 06-23-2010 at 01:00 PM.

  5. The Following User Says Thank You to Lolland For This Useful Post:

    NextGen1 (06-23-2010)

Similar Threads

  1. [Help] Finding desktop path [solved]
    By speedforyou in forum Visual Basic Programming
    Replies: 4
    Last Post: 07-06-2011, 06:16 AM
  2. [Help Request] Need help finding a Vindictus injector
    By VpChris in forum Vindictus Help
    Replies: 2
    Last Post: 05-01-2011, 10:51 PM
  3. [Help]Finding .exe of my project [solved]
    By MrSni in forum Visual Basic Programming
    Replies: 5
    Last Post: 04-14-2011, 09:08 PM
  4. [Solved]Need help finding a thread.
    By -Devil- in forum CrossFire Help
    Replies: 6
    Last Post: 03-03-2011, 07:02 PM
  5. [HELP] Finding the averages on a 2D array (Diagonally)[Solved]
    By SERG in forum Visual Basic Programming
    Replies: 5
    Last Post: 12-19-2010, 11:30 AM