Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting PC time from Time Server in VFP6 SP3
Message
From
13/04/2000 01:08:06
 
 
To
12/04/2000 13:06:52
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00358785
Message ID:
00359122
Views:
11
Use the NetRemoteTOD Win32 API function.

Vlad

>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform