WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Programmatically create RAS connection on windows xp clients

 
   Home -> Windows Other -> -> RAS RSS
Next:  Memory Dump  
Author Message
Brendan Erofeev

External


Since: May 03, 2007
Posts: 1



(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.

Thanks in advance.
Back to top
Login to vote
Graham F

External


Since: May 09, 2007
Posts: 2



(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.
Back to top
Login to vote
Display posts from previous:   
       Home -> Windows Other -> -> RAS 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
Categories:
 Windows XP
 Windows Vista
  Windows Other
 Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support