FileSystemWatcher NotifyFilters.LastWrite being inadvertantly triggered by Norton AntiVirus NAV

G

Guest

We are writing application program code using Visual Basic .NET (using the Microsoft .NET 1.0 framework).
We have used a FileSystemWatcher control and have set it to watch for new WRITES to an XML text file.
See below

FileSystemWatcher1.Path = sDirectoryToWatc
FileSystemWatcher1.Filter = sFilenameToWatc
FileSystemWatcher1.IncludeSubdirectories = Fals
FileSystemWatcher1.NotifyFilter = NotifyFilters.LastWrit

Whenever NAV runs, it inadvertantly triggers the LastWrite event as NAV passes over the file being watched.
When I look at the properties of the file, it does NOT show that the modify date (or any dates) have really changed.

Either this is a bug in NAV, or more likely the MS .NET FileSystemWatcher control.
Please advise. Ric

Also refer to http://groups.google.com/groups?hl=...3fDq80pwDHA.3116%40tk2msftngp13.phx.gbl&rnum=
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top