installing a dial up connection programatically

  • Thread starter Thread starter Neil
  • Start date Start date
N

Neil

I would like a program to install of a dial
up network connection (as in the make new connection
wizard) with my predefined properties.

I am deploying a software package from a CD ROM that
requires a dial up connection and I would like to be able
to install the dial up connection automatically so my
users do not have to go thru the wizard.

Anyone have any ideas are appreciated?
 
You asked:

Neil said:
I would like a program to install of a dial
up network connection (as in the make new connection
wizard) with my predefined properties.

I am deploying a software package from a CD ROM that
requires a dial up connection and I would like to be able
to install the dial up connection automatically so my
users do not have to go thru the wizard.

Anyone have any ideas are appreciated?

Answer:

Yes, there is a way to do this. You can write a simple C program which uses
the RasApi32 APIs. The primary one being RasSetEntryProperties. You can look
into MSDN on this for more info:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rras/rras/rassetentryproperties.asp.
The RASENTRY structure let's you customize your connection properties for
you.
 
Back
Top