Hello all,
I have been able to map the drive from
VB using the wshom reference. See code below:
----Start code
Dim objMap As WshNetwork
Set objMap = New WshNetwork
Call objMap.MapNetworkDrive(pstrMapDriveLetter, pstrPathToMap, True)
-----End Code
Yesterday, everything was working as expected but today it failed to map that same drive.
See error:
Automation error
The specified device name is invalid.
my Drive Letter
"T:"
Path that I am mapping to
"\\Stn006d\Data06a"
Does anybody knows what is happening here?
Thank you
A.Delcy
Web Administrator
Canada