rasdial error with dial-up connection

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
 
R

Ron

Dial-up connection (ISP) uses their proxy server - maybe
that's causing the problem?
Ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top