Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Synch of Date Time in a Network From Server
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Oracle
Miscellaneous
Thread ID:
01086071
Message ID:
01086165
Views:
32
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
Previous
Reply
Map
View

Click here to load this message in the networking platform