There is some high cost method-remote com
Do small project ( for example serv), dummy main program ( one coment line) and custom class ( for example, svr)
olepublic , make method gettime
return datetime()
Make exe ,
Install it on the server with VFP run time libraries
(see VFP guide remote com)
Do steps on server computer to register your com
Do steps on client computer to access remote com on the server
Now any place on your client computer
you can write
cm=createobject('serv.svr')
tm=cm.gettime()
and it gives you server time , because com will execute on the server
MVP-2006-2011, PHD in Math and Physics ,
host of
www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.