Link to home
Start Free TrialLog in
Avatar of MTSDL
MTSDLFlag for United Kingdom of Great Britain and Northern Ireland

asked on

FileSystemWatcher Missing Events VB.NET

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
ASKER CERTIFIED SOLUTION
Avatar of ksaul
ksaul

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial