This is regarding the application logs in event viewer.
When ever an application throws an error,the errors will be stored in Even viewer under "Application logs" section and this will be useful for rectifying the bug or error more efficiently.
And now my query is,Is there any way we can read these application logs from even viewer using vb.net or C# coding ? and these logs should be viewd in gridview,which can be updated dynamically
i have tried using the unix scripts but am not able to make it to the end.
Can anyone guide me to solve this query