Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Now can i make an background task sleep
Message
De
01/11/2001 18:45:14
 
 
À
01/11/2001 04:17:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00576035
Message ID:
00576505
Vues:
24
>How can i make a background foxpro program sleep until it receive signal from other pc ?

One option is to use an EXE that sits in an idle state with a timer running, and you can check a directory to see if a file was added, or possible, in a cursor, you can use a record to trigger a process.

A more modern way of doing this would be to use DCOM or a Web Service. The pros to this method include, a more standard, Object Oriented way of calling a program, passing paramters, and return a value. The downside to DCOM, is the setu configuration. Using Web Services is very simple, but it requires an HTTP server (IIS).

Let me know if you would like some more information on creating and using Web Services in VFP 7.0.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform