ActiveX dll source code & test project which monitors a directory for changes. It will watch for files being added or deleted, and changes in attributes or size, and raise an event when a change occurs.
I have not used any api calls for this, so there ARE more efficient ways to write this code.
I needed to get it done, and was having too much trouble with the api calls working smoothly.
I don't care if you vote, but would really appreciate constructive comments.
Thx
Name of path to watch
Reference the dll and declare it WithEvents in your app. (See sample included)
name of file or folder changed, and the type of change that occured.
None that I know of.
Submitted On | 2001-06-12 16:37:44 |
By | Alan Toews |
Level | Intermediate |
User Rating | 4.9 (49 globes from 10 users) |
Compatibility | VB 6.0 |
Category | Custom Controls/ Forms/ Menus |
World | Visual Basic |
Archive File | Dir Monito210826122001.zip |