Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Now can i make an background task sleep
Message
From
01/11/2001 18:45:14
 
 
To
01/11/2001 04:17:33
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00576035
Message ID:
00576505
Views:
21
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform