|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Connecting to a VPN from a dot net 2.0 applicationI 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 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] Show quote "Alan Lambert" <alambert@newsgroup.nospam> schreef in bericht news:%23KooCSxBHHA.1224@TK2MSFTNGP04.phx.gbl... >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 > Thanks for the pointers. I'll look into RAS
Alan Show quote "Michel Posseth [MCP]" <M***@posseth.com> wrote in message news:e$UY2s0BHHA.2316@TK2MSFTNGP04.phx.gbl... > > 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" <alambert@newsgroup.nospam> schreef in bericht > news:%23KooCSxBHHA.1224@TK2MSFTNGP04.phx.gbl... >>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 >> > > |
|||||||||||||||||||||||