Re: Windows Service in C#

Tech-Archive recommends: Fix windows errors by optimizing your registry



Thank you for your response, I found out the cause that generated that
behaviour of the windows service.
The cause was that I was reading from the file too quickly after the
file was modified by the other process before the other process closed
the file.
I introduced a delay in the method that reads from the file and now
works fine, but the OnChange event of the FileSystemWatcher object is
triggered from 2 to 4 times.
I don't understand the reason for this. If you can help me this time
please send me a work around if you have any or any other idea that
would solve the issue.
I found out on the net that this is a known issue in the dotNet but
did not find any method to solve it.
Thank you again.
.



Relevant Pages

  • Re: instance of class into sub?
    ... they saw your message twice for no reason. ... Because the person reading c.l.p.misc might very well ... > discover that someone else posted essentially the same response there. ... > Multi-posting fragments threads that should be kept together, ...
    (comp.lang.perl.misc)
  • Re: Reason #13321 why marriage can suck
    ... store that's on the honeydew list. ... put them on there for a reason, ... I wasn't reading an argument into this, ... A good and positive response might have been something like "I forgot ...
    (rec.sport.football.college)
  • Re: Vacation *PART*_*FOUR*
    ... The only reason for a ... response from me is the fact that I clear out my filters once a year. ... That at least, from where I'm reading. ... before even the ice wagons come by with ice for the bars?" ...
    (alt.smokers.cigars)
  • Re: Black Balling practices here?
    ... reading the group at the time and whether or not those reading have a ... can take awhile to get a response. ... > dialogue box for AutoPlay was significant, ... > fix for it in one of the service packs, and also issued a tool to fix ...
    (microsoft.public.windowsxp.basics)
  • Frank (Re: Opening Email)
    ... Thank you too Frank for your response. ... After reading ALL the responses above, I feel better about the whole thing now. ... there is zero security or privacy risk upon opening email, ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)