R
Ron
Trying to use vb script to connect to internet by existing
dial-up connection, then start firewall. Script works on
Win98 machines using "rundll rnaui.dll,RnaDial " not
rasdial. Password already saved for DUN by WinXP, so
double click dial-up connection name connects without user
intervention.
But rasdial in vb script or command prompt window 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)
Same error if username in full like email address, & if no
username or password in rasdial command. Haven't phonebook
file as I thought rasdial uses dial-up connection
properties.
Thanks for any help,
Ron
dial-up connection, then start firewall. Script works on
Win98 machines using "rundll rnaui.dll,RnaDial " not
rasdial. Password already saved for DUN by WinXP, so
double click dial-up connection name connects without user
intervention.
But rasdial in vb script or command prompt window 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)
Same error if username in full like email address, & if no
username or password in rasdial command. Haven't phonebook
file as I thought rasdial uses dial-up connection
properties.
Thanks for any help,
Ron