Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Synch of Date Time in a Network From Server
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Oracle
Divers
Thread ID:
01086071
Message ID:
01086165
Vues:
33
Wrapper class in download dosent work.
Shell Scripting Runs well.

Thanks

>May be this is a thread you're looking for? Re: How to synchronize workstations datetime and server? Thread #1047584 Message #1047609
>
>>Hi Tore,
>>
>>In fact i once have found a code on UT which takes server name as parameter and synch the node Date Time with it.It was a call to API with DataTime Class Parameter, I lost that code and the search begins.
>>
>>Thanks
>>
>>>Sorry, I misunderstood your problem. My solution will read the date and time of the server. Personally I use this fundtion to read the date and time from the server, and Shellexecute the DOS Time and Date function on startup of my program to set the date and time of each workstation. So the net result is the same, but I see that this the solution you want.
>>>
>>>>Hi Tore,
>>>>
>>>>Looks to me a wrong posting.
>>>>I cant understand this code as solution for my set of problem.
>>>>
>>>>
>>>>>>Hi friends,
>>>>>>
>>>>>>I need to synch date time of all network node machines from server.
>>>>>>
>>>>>>I remember of a system API but cant find it now.
>>>>>>
>>>>>>Any Ideas.
>>>>>>
>>>>>>Aashish
>>>>>
>>>>>lcServer='p:' && or whatever you call the server
>>>>>StrToFile('xxx',(Addbs(lcServer)+'xx.xx'))
>>>>>=ADir(dummy,Addbs(lcServer)+'xx.xx')
>>>>>lDate=dummy(1,3)
>>>>>lTime=dummy(1,4)
>>>>>Erase (Addbs(lcServer)+'xx.xx')
--
--
Aashish Sharma
Tele Nos: +1-201-490-5405
Mobile: +91-9821053938
E-Mail:
aashish@aashishsharma.com
write2aashish@gmail.com

You better believe in yourself... if you don't, who else will ?
TODAY is a gift, that's why it's called PRESENT
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform