Results 1 to 2 of 2

Thread: Enter Password for Mapped Drive

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    180

    Enter Password for Mapped Drive

    I have an application that sends files to a Network drive that has been mapped as the "Z:\" drive. When code first runs, it errors with "path cannot be found". Then if you open up MyComputer, and double click on the drive, windows asks you for UserName/Password. Once entered, if you run the code again, everything is fine.

    So it looks like it cant find the drive b/c a username/password has not "unlocked" the drive yet.

    How do I get vb to unlock the drive so I may transfer the file?


    **EDIT - I found some stuff online but it seems like it self maps the drive. I'm just looking at applying the username/password to the mapped drive so I may copy. Any Ideas?
    Last edited by MotoMan_Yz400; Feb 4th, 2010 at 02:26 PM.

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Enter Password for Mapped Drive

    Is it a requirement to enter an ID/Password to authenticate the share? Why not just click the "remember" checkbox when entering the credentials so that it is always authenticated?

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