>I have a project where several computers will be use to gather information at the same time on different locations they are interconnected to a Windows NT network and the problem is that all the clocks must be synchronized so what I is for all the applications(VFP6) to use the clock on the server. Any ideas?
If you are using NT workstations (or servers) as your client machines then you can look at my FAQ on synchonizing NT machines.
If you have a combination of NT and Win9X then you can create a file on the server machine using FCREATE(). Check the datetime stamp using ADIR() and set the local time according to that time. The datetime stamp of the file is determined by the server not the machine that created the file. The last part of the FAQ tells how to set the local time using the WinAPI in NT and Win9X environments.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao