We have a time server (attached to a GPS clock) and can set the time of a pc to the time server time using a call to NET.EXE (a WIN utility) with the following code:
run c:\windows\net time \\gpsclock /set /yes
This works OK but the ugly DOS black window flashes up. Anyone know how to do it without the DOS window appearing.
Sam Robbins BCRTC