Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keystroke count
Message
De
23/11/2011 14:48:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01529640
Message ID:
01529717
Vues:
43
>>>i would like to set up an auto backup of files based on how many changes are made rather than when there is a startup to the system. is there a way to count keystrokes?
>>
>>My first thought is that nothing is really changed until it's saved. So, you could count save operations and base your backups on that.
>>
>>If you really want to count keystrokes, you could look at the .KeyPress event.
>
>thank you for your response
>mm not quite following you on this Al. Changes are made to data files ongoing and automatically saved once the change is made. that's why i thought that perhaps counting keystrokes was a possible way to go. i cannot find any reference to keypress event in my help (vf9).

I thought you were talking about making changes to files within one of your VFP applications. If, instead, you're talking about monitoring change activity in some other, non-VFP application, then I agree with Victor.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform