R
Ron
Wish to use vb script on WinXP machine to connect to
internet by existing dial-up connection, then start
firewall. Password already saved for DUN by WinXP, so
double click dial-up connection name connects without
user intervention.
But rasdial in script or command prompt window only
dials, then fails user & password verification [error
691]. The code is:
Dim variables below
sDialUpName = "my ISP"
sDialUpCmd = "rasdial " & Chr(34) & sDialUpName & Chr(34)
& " " & "myUsername" & " " & "myPassword"
iRC = oShell.Run(sDialUpCmd,1,True)
I'd much prefer to omit username & password for security,
but same error 691 occurs.
Help please!
internet by existing dial-up connection, then start
firewall. Password already saved for DUN by WinXP, so
double click dial-up connection name connects without
user intervention.
But rasdial in script or command prompt window only
dials, then fails user & password verification [error
691]. The code is:
Dim variables below
sDialUpName = "my ISP"
sDialUpCmd = "rasdial " & Chr(34) & sDialUpName & Chr(34)
& " " & "myUsername" & " " & "myPassword"
iRC = oShell.Run(sDialUpCmd,1,True)
I'd much prefer to omit username & password for security,
but same error 691 occurs.
Help please!