or look at shelling out the "rasdial" command.
Syntax is:
rasdial /?
USAGE:
rasdial entryname [username [password|*]] [/DOMAIN:domain]
[/PHONE:phonenumber] [/CALLBACK:callbacknumber]
[/PHONEBOOK:phonebookfile] [/PREFIXSUFFIX]
rasdial [entryname] /DISCONNECT
Where "entryname" is the name in the Dial up Connections list.
hth.
Simon
"One Handed Man [ OHM# ]" <OneHandedMan{at}BTInternet{dot}com> wrote in
message news:%2****************@TK2MSFTNGP12.phx.gbl...
Try This
System.Diagnostics.Process.Start("connectionname.l nk")
OHM
the nitewolf wrote: Okay, I am out of ideas, from a console application, how
do you invoke a dial-up or vpn connection, I can invoke
them from a command prompt doing "start
connectionname.lnk" and run it from a shortcut, but from
within my app or even from a batchfile, it won't work, and
I cannot find anything on the subject. Please help!!
Regards - OHM# OneHandedMan{at}BTInternet{dot}com