I have the following code in a Visaul Basic 6.0 program for mapping to a network drive:
Set objNetwork = CreateObject("WScript.Network")
objNetwork.MapNetworkDrive driveLetter,fullPath, bPersistent, userName, password
driveLetter will be searched at run time, all other parameter values will be getting from a XML file.
Here are errors I got:
Error code: 800704B2 - An attempt was made to remember a device that had previously been remembered.
Error code: 800704C3 - The credentials supplied conflict with an existing set of credentials.
The second error occurs only if the userName and password provided are different from Windows login user name and password.
Can anyone let me know how to get around these errors? Thanks
Set objNetwork = CreateObject("WScript.Network")
objNetwork.MapNetworkDrive driveLetter,fullPath, bPersistent, userName, password
driveLetter will be searched at run time, all other parameter values will be getting from a XML file.
Here are errors I got:
Error code: 800704B2 - An attempt was made to remember a device that had previously been remembered.
Error code: 800704C3 - The credentials supplied conflict with an existing set of credentials.
The second error occurs only if the userName and password provided are different from Windows login user name and password.
Can anyone let me know how to get around these errors? Thanks