Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to close an OpenVPN
Message
 
 
À
06/05/2008 16:49:29
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01315438
Message ID:
01315454
Vues:
58
This message has been marked as the solution to the initial question of the thread.
Koen,

See if http://www.berezniker.com/content/pages/visual-foxpro/check-if-exe-running-and-optionally-terminate-it can help

>
>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?
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform