Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'date changed' event?
Message
De
22/03/2001 21:08:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00487860
Message ID:
00487864
Vues:
8
>Is there any way to trap the event of the system date changing?

I was trying to do this in a Timecard application that logged employees in and out. The employee could always change the computer time and then clock in or out and I didn't want that, so I found a file that changed whenever the clock was set, but it was such a goofy mess that I kaboshed the idea (or looking at the clock).

If you have a similar situation, my advice is to have the workstations hit a server using DCOM or IIS or something and get the time that way. Also, creating a file on a mapped drive should give you the time on the server if you wanna mess with that.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform