Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Server Time
Message
De
24/06/2002 03:12:03
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
 
 
À
24/06/2002 02:27:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00671546
Message ID:
00671551
Vues:
13
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform