filesystemwatcher firing files twice

Codeman_cas

New member
Joined
May 29, 2011
Messages
4
Programming Experience
1-3
HI Guys , ive just finished writing a file in VB 2010 and im using filesystemwatcher but ive found a problem whereas the filesystemwatcher fires the target twice everytime there is a change to the file.

ive looked around and found it to be a problem but cant seem to find a cure

thanks
Mark
 
Those are likely different change notifications, look at e.ChangeType.
 
Back
Top