473,407 Members | 2,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Connecting to a VPN from a dot net 2.0 application

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
Nov 13 '06 #1
2 2028

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" <al******@newsgroup.nospamschreef in bericht
news:%2****************@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

Nov 13 '06 #2
Thanks for the pointers. I'll look into RAS

Alan

"Michel Posseth [MCP]" <MS**@posseth.comwrote in message
news:e$**************@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" <al******@newsgroup.nospamschreef in bericht
news:%2****************@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


Nov 15 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ramir Santos | last post by:
my analysis server is hosted on a win2k server with IIS, the hosting page is on another machine. I have followed everything as per MS KB article and I could not connect through the analysis server...
1
by: pmud | last post by:
Hi I need to connect an existing application to an SQL database. How to go about doing that coz its an application created by a third party & I dont even know how or in what programming language...
3
by: stabbert | last post by:
We are running DB2 UDB 8.1.6 in a partitioned environment where we have 8 physical nodes. We have a process that remotely connects to each individual node and loads some data. By setting the...
12
by: Ann Marinas | last post by:
Hi all, I would like to ask for some help regarding separating the asp.net webserver and the sql server. I have created an asp.net application for a certain company. Initially, we installed...
3
by: GTDriver | last post by:
I'm trying to connect my application with a web service located on my own web server(localhost). I guess when the solution/proect is built it makes a file called 'Web...
3
by: Vinod R.Shenoy | last post by:
Hi All, Came across a post wherin you had helped somebody with a similar problem and was wondering if you could help us out with it. Our problem is , We have a development SQL Server 2000...
8
by: Ananthu | last post by:
Hi I have done all the codings part for connecting mysql with java in eclipse environment. Coding Part: import java.sql.Connection; import java.sql.DriverManager; public class...
2
by: SayamiSuchi | last post by:
-------------------------------------------------------------------------------- Hi, I have made one web application using Asp dot net 2005 and sql server 2005.The sql server i am connecting is...
2
by: orandov | last post by:
Hi, I am having a problem connecting my .net applications from the application server to the database server. When I run the application from my windows xp (sp2) box it works fine. When I try to...
0
by: brum2008 | last post by:
Hello! Below is the Netbeans Mobility source code for my application (The application offers SPP service, and then just hangs waiting for a client to connect (using acceptAndOpen()). The other...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.