AspEventViewer Component - free

Last updated: 01/20/98, Refresh (4/7/98 Initial Release)

If you are long-time fan of our site, you may know about the EventLog ISAPI
extension we were providing to read the event log entries online. This ISAPI extension has been
converted to a component that can be used in ASP scripts or for
"normal" server information gathering from for example Microsoft Excel.

The AspEventViewer component sports all functionality you need to read all three
different sources (System, Security and Application) on your local computer as well as any
remote computer. Additionally to the functionality of reading the event log, you can also
use the component to delete the event log entries.

First of all, you have to open the event log (OpenLog), then you can access entries
either via GetRecord (please notice that the accountname return value currently is not
implemented!) or iterating over all entries using GetFirst() and GetNext(). Included with
the downloadable component are examples for scripting these functions (a shortened version
is shown below).