I have an application that makes use of the FileSystemWatcher (FSW) class in a VB.NET windows application.
.NET 2 is being used on an XP machine.
The purpose of this application is to monitor certain directories with the FSW class and update a User Interface (UI) with the names of the files that are currently in that particular directory. I am currently using the ListView object on the UI to show the contents of the directory.
A problem seems to arise when I add (or delete) a large number of files from a directory and the ListVeiw does not update correctly... i am guessing that some of the FSW events are not being raised but cannot be sure.
Does anyone have any suggestions that would make the ListView update in "real-time" when large numbers of files are deleted or added?
Any help would be much appreciated.
Thanks in advance