Erwin Craps - IT Helps
Erwin.Craps at ithelps.eu
Fri Feb 16 03:23:19 CST 2007
I use to have (long time ago) an OCX that was able to create dial up profile, a Windows PPTP VPN connection is a regular dial-up profile, but I suspect there must be a windows API that is capable to create a dial up profile. That is if you are using the Windows built in VPN connection and not a third party IPSec, like Cisco, Linksys, Netgear or whatever. Search for API guide or API viewer to get a list of API programs with a lis tof API codes. Search for VPN or RAS (Remote Access Service) in an API list program. Maybe someone else can give a good link to such an API viewer. Success Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, February 15, 2007 2:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] WAY OT: Create a network Connection On 15 Feb 2007 at 20:56, Darren DICK wrote: > Anyone know how to create a VPN connection in code. The only way that I can see to do it would be to create an AutoIt script http://www.autoitscript.com/autoit3/ AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self- contained and will run on 95, 98, ME, NT4, 2000, XP, 2003 out of the box with no annoying "runtimes" required! You can even make compiled executable scripts that can run without AutoIt being installed! AutoIt was initially designed for PC "roll out" situations to reliably configure thousands of PCs, but with the arrival of v3 it has become a powerful language able to cope with most scripting needs. > > Or how to copy one from my "My Network" connections to the "My Network > Connections" on another person's PC > > I can make and copy the shortcut - but I want to copy the actual VPN > Network connection itself - can it be done? > > So that I can just drop it into their "My Network connections" (need > help with that too - anyone know what that folder is called) :-) > > Any suggestions?? -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com