Search Tools Links Login

Dir Monitor


Visual Basic 6, or VB Classic

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

Original Author: Alan Toews

Inputs

Name of path to watch

Assumptions

Reference the dll and declare it WithEvents in your app. (See sample included)

Returns

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: 98 times

Categories

Visual Basic 6

Attachments

Dir Monito210826122001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 7,920 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.