Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to close an OpenVPN
Message
From
06/05/2008 16:49:29
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
How to close an OpenVPN
Miscellaneous
Thread ID:
01315438
Message ID:
01315438
Views:
63
Hi,

To open an OpenVPN connection using OpenVPN can be done with
Declare INTEGER ShellExecute IN shell32.dll ;
		INTEGER hndWin, ;
		STRING cAction, ;
		STRING cFileName, ;
		STRING cParams, ;
		STRING cDir, ;
		INTEGER nShowWin
	
test = .t.
	If Test
		cFileName = "C:\Program Files\OpenVPN\config\mysql.ovpn"
		cAction = "open"
		ShellExecute(0,cAction,cFileName,"","",7)
However, how about closing?

Regards,
Koen
Next
Reply
Map
View

Click here to load this message in the networking platform