Something I had done in Perl and am toying with in VB, but would love to see really done in VFP, is using the FileSysNotifyChange() API call. Every time a change is made to the filesystem, the NT executive gets this broadcast from the disk subsystem. A VFP app could trap for this and process accordingly. Maybe Ed Ruah can put his $.02 on this one?
>>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.
Previous
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