?
Solved

Reading saved event viewer log

Posted on 2008-01-31
4
Medium Priority
?
903 Views
Last Modified: 2012-06-21
Hi,

Anyone know how to read SAVED Event Viewer logs?

You should know that we can save Event Viewer logs and it should come up with files :

Application.evt
Security.evt
System.evt
CustomApp.evt (example)

How can we parse that files and display the content in, let say, TMemo.

Thanks.
0
Comment
Question by:dudup
  • 2
  • 2
4 Comments
 

Author Comment

by:dudup
ID: 20785410
I found a component that might work for this purpose:

http://codecentral.borland.com/Item.aspx?id=21935

But I have no idea how .... :(
0
 
LVL 21

Accepted Solution

by:
ziolko earned 1200 total points
ID: 20788899
You can try Inthe's solution:
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_20095952.html

and change

OpenEventLog (PChar (Server), PChar (Source));
to
OpenBackupEventLog (PChar (Server), PChar (Source));
in
procedure TNTEventLog.Open; method

use Source as filename and path of backup file

haven't tried that but in theory this should work:)

ziolko.
0
 

Author Comment

by:dudup
ID: 20995049
Hi ziolko,

Thanks for your tip :) I can make it to work !

But maybe if you can help me with this question :

http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_23197263.html
0
 
LVL 21

Expert Comment

by:ziolko
ID: 20995876
i'll take a look

ziolko.
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
The video will let you know the exact process to import OST/PST files to the cloud based Office 365 mailboxes. Using Kernel Import PST to Office 365 tool, one can quickly import numerous OST/PST files to Office 365. Besides this, the tool also comes…
Suggested Courses

594 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question