Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Default dialup network connection 1

Status
Not open for further replies.

clegg

Programmer
Jan 25, 2001
98
GB
Does anyone know how to set the default dialup connection using code rather then doing it manually. I know which dialup I want to use, I just need to set it to be the default before calling a particular bit of my program.
 
Thanks for the post - however this does not really help my problem. I do not want to call up the DUN program, I just want to be able to set which dialup is the default.
Any ideas?
 
I'm just throwing a dart here (and maybe someone else can expand on this for me . . . so I can know it too :)), but is there a key somewhere inthe registry that contains this information? And shouldn't you be able to simply set the registry key with the new DialUP information? Just a thought . . .
- Jeff Marler B-)
 
Thats what I thought, but I'm damned if I can find it!!

#-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top