Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent the application from getting killed?
Message
De
19/06/2002 10:00:55
 
 
À
18/06/2002 10:02:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00669625
Message ID:
00670111
Vues:
27
Thanks Zlatin. That helped me partially. The application displays a dialog after that process is over and I dont know how it will behave if the process still runs while the user logs off.

I am more inclined to find some way by which Ctrl-Alt-Del key can be disabled during that small interval though I doubt if it is allowed and good design. Or to execute some code in "ON SHUTDOWN" which will prevent the user from killing the task.

>In VFP7 there is standard sys() function for this
>SYS(2340) - NT Service Support
>See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fox7help/html/lnlrfsys2340-ntservicesupport.asp
>
>>While doing some critical log entries, I dont want the users to kill the application by "End Task" from Task Manager. With "ON SHUTDOWN", the maximum I can do is put up some dialog and inform the user not to kill the application. But still the users can go ahead and kill the task.
>>Is there some API, which will work across all the platforms, and prevent the user from killing the application?
>
>HTH
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform