Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to synchronize workstations datetime and server?
Message
De
08/09/2005 02:37:03
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01047584
Message ID:
01047609
Vues:
34
Hi,

download #28338 contains such a function, it's a wrapper around
NetRemoteTod & SetLocalTime/SetSystemTime API's.

NetRemoteTOD isn't available on Win95/98/Me, so it obviously won't work on these operating system's.
IF SyncToServerTime('\\yourServer') = 1
&& "time syncronized"
ELSE
   AERROREX('laError')
   display memory like laError
ENDIF
Regards
Christian
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform