Mark thanks for the reply, but I tried
WshNetwork.MapNetworkDrive("E:", "\\SomeServer\SomeShare", Ttrue, txtUsername.Text.ToString, txtPassword.Text.ToString)
as well
WshNetwork.MapNetworkDrive("E:", "\\SomeServer\SomeShare", False, txtUsername.Text.ToString, txtPassword.Text.ToString)
Same...