Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting PC time from Time Server in VFP6 SP3
Message
From
12/04/2000 13:06:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Setting PC time from Time Server in VFP6 SP3
Miscellaneous
Thread ID:
00358785
Message ID:
00358785
Views:
42
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
Next
Reply
Map
View

Click here to load this message in the networking platform