Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Jul 2004
    Posts
    201
    Thanks
    8
    Thanked 1 Time in 1 Post

    VB: Get the quick launch folder for the current user

    Hey guys, iv serched everywhere and cant find how to do this. I thought i could do something like,

    dim quicklaunchf as string
    quicklaunchf = [users current drive letter] + "\documents and settings\" + [users user name] + "\Application Data\Microsoft\Internet Explorer\Quick Launch"

    only I dont know how to get none of the values in [] lol.

    Or is there an easier way?

    Thanks guys

  • #2
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    %appdata%\Microsoft\...
    *this message will self destruct in n-seconds*

  • #3
    Regular Coder
    Join Date
    Jul 2004
    Posts
    201
    Thanks
    8
    Thanked 1 Time in 1 Post
    So how would I use this ?

  • #4
    Regular Coder
    Join Date
    Aug 2004
    Location
    codegoboom@yahoo.com
    Posts
    999
    Thanks
    0
    Thanked 0 Times in 0 Posts
    How should I know?

    Just use it... if it doesn't work, then go to MSDN and look up info about shell special folders, or environment variables, or something.
    *this message will self destruct in n-seconds*

  • #5
    Regular Coder
    Join Date
    Oct 2004
    Location
    In front of this computer. (Where else?)
    Posts
    442
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Api

    Use the Win32API.
    Public Declare Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long
    ...

    Do a search on MSDN.
    Tomorrow is the first day of the rest of your life... What have you done today?
    Tutorials
    Web: w3schools, htmldog General tips: Hardware, Networking


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •