Default diaup connection

G

Guest

Guest
Archived from groups: microsoft.public.windowsnt.protocol.ras (More info?)

Hi
I am using the RasDial function to initiate a connection, and I need to know
which of the connection is the 'default connection' so it will dial the one
that the user prefers.
The only place that I saw it was in the registry the problem is that the
location may vary fom one system to another, perhaps there is an API to
figure this out.

Any help will be appreciated,
Samuel
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsnt.protocol.ras (More info?)

You need fill the RASDIALPARAMS which are an input to the Rasdial API. Then
fill it with the connection name that the user wants to dial out.

This should solve your problem.

If you want to setup a default connection, then on the client machine, go to
the network folder and right click on the connectoid and click on "Set this
as Default Connection".

--
- Manjari
This posting is provided "AS IS" with no warranties, and confers no rights.
"S Shulman" <smshulman@hotmail.com> wrote in message
news:en0zzEpNEHA.1608@TK2MSFTNGP12.phx.gbl...
> Hi
> I am using the RasDial function to initiate a connection, and I need to
know
> which of the connection is the 'default connection' so it will dial the
one
> that the user prefers.
> The only place that I saw it was in the registry the problem is that the
> location may vary fom one system to another, perhaps there is an API to
> figure this out.
>
> Any help will be appreciated,
> Samuel
>
>
>
 

TRENDING THREADS