Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to synchronize system date and time
Message
De
23/03/2007 07:35:11
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
23/03/2007 06:23:04
Hee Lim Wang
Fantasy Software Enterprise
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01207544
Message ID:
01207552
Vues:
17
>how to synchronized system date and time with p2p networking for 2 pc with XP
>one pc set as main with application installed
>the other just map drive and connect to the main pc
>i want the 2nd pc synchronized the system date and time with the main pc
>how ?

One simple way is:
-Create a file on other PC
-Get file time
-Erase the file
ie:

lcTemp = forcepath(sys(2015)+'.tmp', 'x:\datafolder')
Strtofile('x',m.lcTemp)
Adir(arrFile,m.lcTemp)
Erase (m.lcTemp)
ltNow = Ctot(Transform(Dtoc(arrFile[3],1),'@R ^9999/99/99')+' '+arrFile[4])

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform