Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sincronizar horário com o servidor
Message
From
21/02/2005 16:35:22
 
 
To
21/02/2005 05:03:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00988796
Message ID:
00989023
Views:
55
This message has been marked as a message which has helped to the initial question of the thread.
>Alguém conhece um comando no FOX semelhante ao "net time", pois necessito sincronizar o horário do terminal com o servidor através do meu sistema sem utilizar o "net time"

Veja:
http://fox.wikis.com/wc.dll?Wiki~GetServerTime

"How To Use NetRemoteTOD to Obtain Date and Time Information from a Server"
http://support.microsoft.com/default.aspx?scid=kb;en-us;249716

Para fazer com o Win98 (onde essa API nao trabalha, use as funcoes LLFF - FCreate() e FClose() para criar um arquivo temporario no servidor e fecha-lo. Logo use ADIR() para obter a informacao desse archivo criado.

HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform