|
-
Feb 4th, 2010, 02:11 PM
#1
Thread Starter
Addicted Member
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.
-
Feb 4th, 2010, 02:32 PM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|