VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

OO7

Eker  (1 Submission)   Windows System Services   Visual Basic 3.0   Advanced   Wed 3rd February 2021

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:\temp 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.

API Declarations
See File..Too many to list.

Rate OO7 (3(3 Vote))

Download OO7

OO7 Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters