Mrk Hawes
Mrk Hawes

Reputation: 11

Vb.NET rasdial parameters

I am making a program that schedules the redial of a VPN connection using rasdial however I cannot get my script to pass the correct information to the rasdial.exe program.

For example Process.Start("rasdial.exe", "VPN Connection " & ""USERNAME!" & "PASSWORD")

However when this starts it just says "Remote access error 625"

Upvotes: 0

Views: 958

Answers (1)

Mrk Hawes
Mrk Hawes

Reputation: 11

It turns out that the best solution is to concatenate the variables before storing them in a database or document because the connection only inputs one parameter.

Upvotes: 0

Related Questions