
How to get file system change notifications?
How can a VB program receive a notification when the file system changes
(e.g. a file/directory is renamed, added or deleted)? I want to refresh the
contents of a FileListBox when files are added or deleted in its directory.
Right now I'm using a Timer control that periodically does a
FileListBox.Refresh, but that's not a very satisfactory solution. It's not
event-based and produces an annoying mouse pointer flicker every time,
whether files actually changed or not.
Any suggestions?
Thanks in advance,
Paul
--
Uwe Wolfgang Radu
Chattanooga, TN