Hi all,
I would really appreciate if someone cound point me to the right direction,
regarding the issue I have. Or suggest another solution.
I have a VB.NET windows service that is processing XML files from a specific
folder, and that works fine. But, what I would like to do now is create a
side application (or within the same app) that is responsible for monitoring
the whole process. When I say monitoring, I mean a form that displays which
file has been processed and when. Right now, I can do that by having the
service right to a log file, and than read a log file and store the text
into a read-only RichTextBox control. The refresh of the RTB is controlled
by a Timer control. The problem with this is that the RTB flickers, no
matter how I set the Timer. This is the result of having to get the whole
log file text, bind it to RTB and have it scroll down to the end
Now, I was wondering if there is any other way to accomplish the same thing,
and how?
- Service writes to a command window
- Service appends text directly to a RTB (not sure if I can have a WinForm
as a part of WinService project; maybe separate projects)
- RTB gets only the latest info from log file, since the last timer tick
(read lines from the last end-line to the current end-line, or something
like that)
Any suggestions?
Thanks
Goran Djuranovic