Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Snooping with VFP
Message
De
29/05/1999 21:39:47
 
 
À
29/05/1999 18:59:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00224442
Message ID:
00224454
Vues:
17
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform