Initiating a VPN connection automatically
I want to be able to initiate a VPN connection automatically from within a VB program (V6) on Windows 95 ( ultimately for Windows 2000 ). I have two icons ( connectoids ) in my dial-up networking folder. I can initiate the DUN connection by using the Win32 API InternetDial function etc, and I want to be able to do the same for my VPN connectoid. Unfortunately calling the InternetDial function again passing the VPN connectoid name as a parameter does not work. How can I get round this problem? What other Win32 API's can I use?
Thanks.