
How to receive file change notification?
Answered in another group.
Please do not MULTI-POST your questions.
If you feel you need to post to more than one group (seldom necessary),
cross-post instead. This way your message is sent to all groups at once
rather individual messages to each group, as multi-posting provides. In
doing this, all responses to your post from any group are echoed to all the
groups you posted to, thus everyone has the same info and knows when you've
received your answer.
--
Randy Birch
MVP Visual Basic
http://www.mvps.org/vbnet/
Please respond only to the newsgroups so all can benefit.
| Hi, I was wondering how i can detect all changes within a folder in the
| filesystem (renaming, creating new file, moving file). 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 iIf anyone can point me in the right direction, I'm a
| junior programmer, so I don't know much about embedded programming, thank
| you.
|
|
|
|