>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only