Connecting to a VPN from a dot net 2.0 application

A

Alan Lambert

I need to write a small application (VB.NET 2.0) that gives the user a
choice of several VPN connection (these may or may not already be defined in
Network Connections) and then connects them to the chosen connection.

How would I go about 1) calling a VPN connection already defined in Network
Connections and 2) setting up a new VPN connection in Network Connection
through VB.NET 2.0?

Many thanks for any help you can give

Alan
 
M

Michel Posseth [MCP]

See that nobody answered this yet , and sorry but i do not have experience
with this in VB.Net

However i did create in the past a simular proggy with VB6 so this might
point you in the right direction for a start

The buzzword is RAS , in VB6 you could set this up with the RASDIAL API

So look for the equivalant ( if there is anny ) on the .Net platform and you
should find the solution

otherwise you might investigate the excelent API examples on allapi.net and
convert them to VB.Net


regards

Michel Posseth [MCP]
 
A

Alan Lambert

Thanks for the pointers. I'll look into RAS

Alan

Michel Posseth said:
See that nobody answered this yet , and sorry but i do not have experience
with this in VB.Net

However i did create in the past a simular proggy with VB6 so this might
point you in the right direction for a start

The buzzword is RAS , in VB6 you could set this up with the RASDIAL API

So look for the equivalant ( if there is anny ) on the .Net platform and
you should find the solution

otherwise you might investigate the excelent API examples on allapi.net
and convert them to VB.Net


regards

Michel Posseth [MCP]



Alan Lambert said:
I need to write a small application (VB.NET 2.0) that gives the user a
choice of several VPN connection (these may or may not already be defined
in Network Connections) and then connects them to the chosen connection.

How would I go about 1) calling a VPN connection already defined in
Network Connections and 2) setting up a new VPN connection in Network
Connection through VB.NET 2.0?

Many thanks for any help you can give

Alan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top