>>Is there any way VFP can "snoop" on file activity (e.g. create new, modify, delete):
>>
>>- to a specific folder or any of its sub-folders
>>- to a device (e.g. Zip, hard drive, etc.)
>>
>>IOW, is there any API call that would let VFP detect someone using Word to create a file in a folder/device (as an example)?
>
>You could use ADIR() to scan for new files or changes in size/time stamp, and then under NT, there are API calls that could be used to see who opened the file, or in the case of creating a new file, determine the owner.
I'd rather the OS sent a message to VFP, rather than VFP querying the disk/device... the latter will be hard on disk I/O in the general case.
I understand the Octupus on-line backup program somehow hooks itself into NT's file I/O... as do various NT "undelete" utilities. I was just wondering if VFP could hook itself in there as well.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up