Hi all,
I have to retrieve the System error reporting from System information.
In C#, i need this.
Pls very urgent requirement..
Give some idea to do this
Vijay S:afrog:
Printable View
Hi all,
I have to retrieve the System error reporting from System information.
In C#, i need this.
Pls very urgent requirement..
Give some idea to do this
Vijay S:afrog:
When you need help in something. You should explain it!!
:thumb:
Where is your question.
Are you talking about Event Logs from Event Viewer??
hi,
Msinfo32/software environment/ Windows error reporting.
In WER there some common error's are recorded which occured in system,
I have to retreive those details and to display in a listView.
(Sorry for not giving enough information).I hope now u all understood What i need?
Thanks...
Vijay S
Heres a very simple example on retrieving logs from the eventlog. You have to run the application as an administrator though.
C# Code:
foreach (System.Diagnostics.EventLog log in System.Diagnostics.EventLog.GetEventLogs()) { listBox1.Items.Add("--" + log.LogDisplayName + "--"); for (int i = 0; i < log.Entries.Count; i++) { listBox1.Items.Add(log.Entries[i].Message); } }
Ya i check the above code,its working.Thanks.....
In eventLog user can clear the log information.So i have to retrieve information from SYSTEM INFORMATION only.
Thanks and Regards,
Vijay S
Why is that, any special reason.Quote:
Originally Posted by Atheist
We cant able to clear the information on msinfo32.This information will keep track of particular errors.
In my requirement i need this.. Client too expecting Msinfo information only,
Ok, I got the point. Thanks.