I have an application which runs two threads.
- One thread is the main thread while the other one is
to monitor the main thread.
- The errors are written to a custom event log
- There is an event handler to handle the event logs
- When an event occurs I want to create a new thread
and update the event to a sql table (pseudo code)
- Also in case their are number of errors/events...
User Profile
Collapse
-
How to read the message of the event log using System.Management classes?
I am able to query/read the "Applicatio n" event log using System.Manageme nt classes in VB.net 2005 (win xp)
But I have problem reading the "Message" / "descriptio n" of my custom event log.
I am getting a System.NullRefe renceException{ "Object reference not set to an instance of an object."}
while reading the "Message" / "Descriptio n of the event log while it is reading the...
No activity results to display
Show More