(Msg. 1) Posted: Thu May 03, 2007 10:08 am
Post subject: Programmatically create RAS connection on windows xp clients Archived from groups: microsoft>public>windowsnt>protocol>ras (more info?)
Hi all,
I am looking for a way to programmatically create a new RAS/DUN
connection on windows xp clients. This is to be rolled out on a
corporate network.
I have been looking at just appending a new entry to the .pbk file using
a simple command line script but I was wondering if there is a cleaner
way to do this.
(Msg. 2) Posted: Wed May 09, 2007 3:10 pm
Post subject: Re: Programmatically create RAS connection on windows xp clients [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Brendan,
You can use RasSetEntryProperties, RasGetEntryProperies, RasDeleteEntry,
etc.
Modifying the .pbk other than by using the above functions is usually not a
needed (except to configure baud rates?), but if you must you can use the
"registry functions" such as WritePrivateProfileString since the .pbk is
structured like an .ini file.
Graham
"Brendan Erofeev" <brendan.TakeThisOut@erofeev.net> wrote in message
news:uzNWfRYjHHA.1624@TK2MSFTNGP02.phx.gbl...
> Hi all,
>
> I am looking for a way to programmatically create a new RAS/DUN connection
> on windows xp clients. This is to be rolled out on a corporate network.
>
> I have been looking at just appending a new entry to the .pbk file using a
> simple command line script but I was wondering if there is a cleaner way
> to do this.
>
> Thanks in advance.
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum