Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Track an Idle computer
Message
 
 
À
15/01/2004 17:34:13
Jeff Mckay
Utah Department of Health
Salt Lake City, Utah, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00867308
Message ID:
00867321
Vues:
25
Hi, Jeff.

>I am trying to track when a computer has been idle for so many minutes, 10 or so.
>Is there a way to track that with one call, or a relatively simple way that anyone has determined??
>
>Basically what I need to do is throw up a logon screen if the computer is idle and force the user to logon on again. This is a security requirement that I have to meet

You can use a timer and keep traking of some combination of mouse position, lastkey(), activeform, etc. Maybe you can add code to the mouseover event of most your controls, where you update an app-wide object property with seconds().

Let me know if you want more about this method.

Hope this helps,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform