Click here to Skip to main content
15,398,432 members
Home / Discussions / C#
   

C#

 
AnswerRe: Error starting window service Pin
dan!sh 23-Jun-09 22:21
professional dan!sh 23-Jun-09 22:21 
GeneralRe: Error starting window service Pin
obrix_activex24-Jun-09 0:23
Memberobrix_activex24-Jun-09 0:23 
AnswerRe: Error starting window service Pin
PIEBALDconsult24-Jun-09 4:58
professionalPIEBALDconsult24-Jun-09 4:58 
GeneralRe: Error starting window service Pin
obrix_activex24-Jun-09 23:04
Memberobrix_activex24-Jun-09 23:04 
GeneralRe: Error starting window service Pin
PIEBALDconsult25-Jun-09 4:23
professionalPIEBALDconsult25-Jun-09 4:23 
QuestionHow to have a FileSystemWatcher fire only 1 change event? Pin
Super Lloyd23-Jun-09 20:56
MemberSuper Lloyd23-Jun-09 20:56 
AnswerRe: How to have a FileSystemWatcher fire only 1 change event? Pin
Super Lloyd23-Jun-09 21:14
MemberSuper Lloyd23-Jun-09 21:14 
AnswerRe: How to have a FileSystemWatcher fire only 1 change event? Pin
Luc Pattyn23-Jun-09 21:16
sitebuilderLuc Pattyn23-Jun-09 21:16 
Hi,

FileSystemWatcher is not perfect; it typically fires multiple times when something happens to a file, often because one user action causes several technical operations on the directory entry: a file gets created/opened, data gets written, when the file gets flushed or closed some metadata gets updated, etc.

AFAIK there is nothing you can do against that, if you only want one event, you have to take whatever number of events coming at you and filter them yourself.

And the most useful feature is missing, it would fire an event (just one!) when one is done acting on a file, the way it operates right now is it fires from the beginning of an action, so one never is sure the file isn't in some intermediate state.

BTW: FileSystemWatcher also may drop some events, e.g. when there is much activitity going on in your watched folder.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

DISCLAIMER: this message may have been modified by others; it may no longer reflect what I intended, and may contain bad advice; use at your own risk and with extreme care.

GeneralRe: How to have a FileSystemWatcher fire only 1 change event? Pin
Super Lloyd23-Jun-09 21:25
MemberSuper Lloyd23-Jun-09 21:25 
QuestionError In Connection Pin
rhtbhegade23-Jun-09 20:40
Memberrhtbhegade23-Jun-09 20:40 
AnswerRe: Error In Connection Pin
padmanabhan N23-Jun-09 20:56
Memberpadmanabhan N23-Jun-09 20:56 
GeneralRe: Error In Connection Pin
rhtbhegade23-Jun-09 21:00
Memberrhtbhegade23-Jun-09 21:00 
GeneralRe: Error In Connection Pin
Philip.F23-Jun-09 21:29
MemberPhilip.F23-Jun-09 21:29 
GeneralRe: Error In Connection Pin
rhtbhegade23-Jun-09 22:55
Memberrhtbhegade23-Jun-09 22:55 
QuestionHow to get active window event Pin
Jacobb Michael23-Jun-09 19:37
MemberJacobb Michael23-Jun-09 19:37 
AnswerRe: How to get active window event Pin
Anubhava Dimri23-Jun-09 19:50
MemberAnubhava Dimri23-Jun-09 19:50 
GeneralRe: How to get active window event Pin
Jacobb Michael24-Jun-09 1:18
MemberJacobb Michael24-Jun-09 1:18 
AnswerRe: How to get active window event Pin
Anubhava Dimri24-Jun-09 2:11
MemberAnubhava Dimri24-Jun-09 2:11 
GeneralRe: How to get active window event Pin
Jacobb Michael24-Jun-09 2:18
MemberJacobb Michael24-Jun-09 2:18 
GeneralRe: How to get active window event Pin
Anubhava Dimri24-Jun-09 2:32
MemberAnubhava Dimri24-Jun-09 2:32 
QuestionIs there any learning docs for begines? Pin
behesht23-Jun-09 19:01
Memberbehesht23-Jun-09 19:01 
AnswerRe: Is there any learning docs for begines? Pin
behesht23-Jun-09 19:22
Memberbehesht23-Jun-09 19:22 
GeneralRe: Is there any learning docs for begines? Pin
Anubhava Dimri23-Jun-09 19:42
MemberAnubhava Dimri23-Jun-09 19:42 
AnswerRe: Is there any learning docs for begines? Pin
JollyMansArt23-Jun-09 19:29
MemberJollyMansArt23-Jun-09 19:29 
QuestionXMODEM File Transfer Pin
Sifar - 023-Jun-09 18:41
MemberSifar - 023-Jun-09 18:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.