Results 1 to 4 of 4

Thread: mapped network drives

  1. #1

    Thread Starter
    Registered User
    Join Date
    Jul 2001
    Posts
    283

    mapped network drives

    thanks to pax's and pirates help we can now show all the workgroups and users on a network (see his recent thread)

    does anybody know how to get the other items from "my network places"? like mapped internet ftp servers or mapped network drives?

  2. #2
    Junior Member
    Join Date
    Dec 2003
    Location
    California
    Posts
    19
    There is a native .NET control that you have to add to your toolbox that will show network drives called the "DriveListBox". You have to add a reference to it in your customize toolbox options.
    <----------------------------->
    "In the immortal words of Socrates, who said "'I drank what?!'"

  3. #3

    Thread Starter
    Registered User
    Join Date
    Jul 2001
    Posts
    283
    is there a way to list them through code?

  4. #4
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840
    Hi Marvin.

    The Environment.GetLogicalDrives() will also get mapped drives.
    I don't know about FTP drives, but I do know that normal mapped drives are returned.

    I have several drives like Z: on my work pc where Z: is a shared folder on another PC, and that is returned.
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

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