"Zack Sessions" <zc********@visionair.com> ha scritto nel messaggio
news:db**************************@posting.google.c om...
"Wally" <va****@nospamcambieri.it> wrote in message
news:<J_********************@news4.tin.it>...
Hi
Hi need to monitoring my windows service written in VB NET.
How can my monitor application "feel" that my service has made
something? Is the only way a polling (for example on a Db table)?
Can't service generate events into monitor application?
Where can I retrieve examples about monitoring windows services?
Thank in advance
and... sorry for my english, but I'm Italian! :-)
VV
That is something I too am interested in so I will be following this
thread with interest. One thing I have discovered, a good way to debug
a Windows Service is to use the Event Log for debugging messages.
Hi!
Event Log could be a good way, but It has limitations: if you want to read
logs not using polling but using events (EntryWritten), you can only read
logs on local machine. Then, I seems to have read that if one log event is
near the log event before (less than 10 sec.) is possible that you won't be
notify.
In my opinion, best way to monitoring service is using Socket or WMI.
Hope this help.
VV