Perhaps the path is the problem. Are you specifying a "fully rooted" path in
sLocalFileName, as in "driveletter:\blah-blah"? If not, you may not be
setting the watcher on the directory you think you are.
David
> I have setup a FileSystemWatcher to fire an event when the specified file is
> modified.
[quoted text clipped - 22 lines]
> m_bFileModified = true;
> }
Tony - 05 Jan 2005 05:36 GMT
Yes, it is a full path name including drive letter.
Tony
> Perhaps the path is the problem. Are you specifying a "fully rooted" path
> in
[quoted text clipped - 31 lines]
>> m_bFileModified = true;
>> }