by Darrell Koller (1 Submission)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 5.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (6 Votes)
Folder Monitor is a class written in Visual Basic 6.0 that monitors changes made to files in a specified directory (folder) or directories (folders) and its subdirectories (subfolders). It uses the Windows API functions WaitForMultipleObjects, FindFirstChangeNotification, FindNextChangeNotification, and FindCloseChangeNotification.
Assumes
Okay, sorry about the MSI (Microsoft Installer) package. Geez, what happened to the days where you could trust people? The code is repackaged in a zip - no executables. This is my first contribution here (and thanks to some of the smart _ss comments, perhaps my last). This demo was not originally put together for distribution on PSC.
Download Folder Monitor (16 KB)