
How to receive file change notification in VB6?
Hi, I was wondering how i can detect all changes within a folder in the
filesystem (renaming, creating new file, moving file) in
Visual Basic 6. I
have source code from the net which uses the findfirstchangenotification
from kernel32.dll to get a notification back from the os, however, it can
only detect files that have been written to the hard drive. Which means that
if the file is cached, then a notification would not occur. So if a small
file gets moved into the directory (for example, a file of 1K in size), then
a notification will not occur because that file was cached.
It would be great if anyone can point me in the right direction, I'm a
junior programmer, so I don't know much about embedded programming, thank
you.