Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Snooping with VFP
Message
From
29/05/1999 21:39:47
 
 
To
29/05/1999 18:59:51
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00224442
Message ID:
00224454
Views:
18
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform