Search Tools Links Login

Dir Monitor

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.

Original Author: Alan Toews


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.

Side Effects

None that I know of.

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 86 times


Visual Basic 6


Posted: 9/3/2020 3:45:00 PM
Size: 7,920 bytes

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.