Search Tools Links Login


This submission subclasses a folder via a com object I created.
The COM object uses a callback to a function defined in a module , through an undocumented API which hooks into the event notification
system of the shell. In this a case I created a small form to allow you to see it in action. Click Command1 To register the window for notification of events triggered in the C: emp folder or any folder you want(just change the code), Then copy a file into the folder,or rename a file in the folder, or delete one- whatever. You will get a msgbox alerting your application window that an event has occurred. It also logs to the NT log or a textfile, and detects the current operating system (all via the windows API). I use this in place of timer based routines that just wait poll folder for the existence files. Like the SMTP Service.

Original Author: Eker

API Declarations

See File..Too many to list.

About this post

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


Visual Basic 6

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

Loading Comments ...


No comments have been added for this post.

You must be logged in to make a comment.