Results 1 to 3 of 3

Thread: HELP . . . . . . TaskBar . . . . . .HELP

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2003
    Posts
    2

    HELP . . . . . . TaskBar . . . . . .HELP

    I'm new to Visual Basic so take it easy on me.
    I have a litle problem. I tried to develop a taskbar of my own in VB 6 and I'm getting stucked at a very delicate problem. It seem that I can't call My Computer, My Network Places (I use Windows XP) and Recycle Bin.
    With other items I just call Explorer and pass the path to it (from the code, 'course, assuming that only will use that bar). But when it come to Desktop he can't find what user it's logged so it always opens my desktop.
    As the others items I can't pass their paths to explorer because I don't know them.
    And if I already talked about myproject I would also ask you if you can tell me how can I drag the items onto the bar and make them leave their paths and icons on it.
    Thank you for your time
    Still searching for knowledge . . .

  2. #2
    Addicted Member Cyberius's Avatar
    Join Date
    Jan 2003
    Location
    Australia
    Posts
    145
    for my computer try using this (im taking this code from a shell replacement i found)
    VB Code:
    1. Call Shell("explorer.exe", vbNormalFocus)
    this is for my documents if you want it (although u didnt request it)
    VB Code:
    1. Call Shell("explorer.exe /n,C:\My Documents", vbNormalFocus)
    and for the recycle bin....
    VB Code:
    1. Call ShellExecute(0&, "Open", "explorer.exe", "/root,::{645FF040-5081-101B-9F08-00AA002F954E}", 0&, SW_SHOWNORMAL)
    i cant help you with the network one
    Last edited by Cyberius; Jan 6th, 2003 at 10:12 AM.
    -=[Ç¥ßè®Ìú§]=-

    How many microsoft employees does it take to change a lightbulb? None, they simply define darkness as the new industry standard.

    CAUTION: OVERCLOCKING A 386 TO 5Ghz MAY BE HAZARDOUS

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2003
    Posts
    2

    Talking Thanks

    Thanks for help !
    I 've managed somehow to find the user logged and that's how I find the right path for the user's desk.
    But still remains one problem, though my form can now guess the right path of the icon that I drag on it I can't make it stay there.
    I'm sory that I don't have much time now but next I will drop my code here to understand what I'm dealing in a better way.
    Thank you again for your time.
    Still searching for knowledge . . .

Posting Permissions

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



Click Here to Expand Forum to Full Width