Results 1 to 5 of 5

Thread: DriveListBox

  1. #1

    Thread Starter
    Fanatic Member eimroda's Avatar
    Join Date
    Jul 2000
    Location
    Philippines
    Posts
    642

    DriveListBox

    I am using the DriveListBox to browse for drives in my computer. Now, I want to browse the network but my DriveListBox doesn't show the network. How can I do this? pls help...
    On Error GoTo Hell

    Hell:
    Kill Me


    Food For Thought:

    - Do not judge a book... if you're not a judge!


  2. #2
    Frenzied Member
    Join Date
    Aug 2000
    Location
    O!
    Posts
    1,177
    I believe that you can only list network drives that are listed under My Computer. At least that is all I ever see in my DriveListBox.

    Check the FreeVBCode site http://www.freevbcode.com/ and look in the Network/Internet section. There are some downloads that may have just the code you are looking for.

  3. #3
    Frenzied Member JungleMan's Avatar
    Join Date
    Feb 2001
    Posts
    2,033
    DLB can't do that (unless of course you map the drives)

    however this may help

    http://www.freevbcode.com/ShowCode.Asp?ID=781
    http://www.freevbcode.com/ShowCode.Asp?ID=554

    To get all the computers on the network..

    Why not use the Open dialog for your purposes though?
    I'm bringing geeky back...

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    Use the Common Dialog to show Network Neighborhood
    VB Code:
    1. Private Sub Command1_Click()
    2. With CommonDialog1
    3.    .CancelError = True
    4.    .InitDir = "::{208D2C60-3AEA-1069-A2D7-08002B30309D}"
    5.    .DialogTitle = "Starting In Network Neighborhood"
    6.    .ShowOpen
    7. End With
    8. End Sub

  5. #5

    Thread Starter
    Fanatic Member eimroda's Avatar
    Join Date
    Jul 2000
    Location
    Philippines
    Posts
    642
    Than you all guys! your advices are all well taken and i got it now! thanks a lot!
    On Error GoTo Hell

    Hell:
    Kill Me


    Food For Thought:

    - Do not judge a book... if you're not a judge!


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