Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP program never clears from Task Manager
Message
De
15/05/2016 14:05:55
 
 
Information générale
Forum:
Windows
Catégorie:
Autre
Divers
Thread ID:
01636367
Message ID:
01636398
Vues:
64
Always ,issue quit to end the current Visual FoxPro session and returns control to the operating system.
Very important: If you turn the computer off without issuing QUIT, open files might become damaged and data lost, and temporary work files that would normally be deleted may be left on disk.
the WMI code is absolutely similar to DOS taskKill (it ends a process or task as you make manually in the windows taskmanager).
-application example
local oshell
oshell = CREATEOBJECT('WScript.Shell')
oshell.Run("taskKill /f /im yourVFP.exe", 0)
oshell=null
can make same code with API shellexecute
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform