How do I connect to mapped drive asking for login / password in VB
Have a mapped drive on a windows 2003 server. It is a secure drive requiring a login and password to access (mapped to an AS400 and loses connectivity after the weekend IPL).
I have some VB code that needs to get files from this mapped folder. I can manually double-click on folder and enter login and password. The drive will then be available until the next IPL.
Can someone show the vb code to connect the drive after a Try/Catch fails using a