|
|
Access the Windows event logs using a set of intuitive ActiveX classes
|
 |
Avoid the complexities of the event log interfaces by using this intuitive and
fully featured control. Read, write, clear, save and load event logs. Write log
entries with insertion strings, binary data, and user account information. You
can read event log records with full category and event description message
file lookup including parameter replacement. Access event logs on remote
computers. The control supports both the standard and also custom event logs.
The Event Log Control offers Visual Basic developers complete access to the
Windows event logs in a simple to use yet powerful control.
Features
-
Part of the ComponentSpace ActiveX Suite
-
Read, write, clear, save and load event logs
-
Write logs with insertion strings, binary data and user account information
-
Full category and event description message file lookup including parameter
replacement
-
Access event logs on remote computers
-
Receive events for event log changes
-
Configure event sources and event logs
-
Supports standard and custom event logs
-
Save in native (.evt), as comma separated values (CSV), or as XML
-
Convert native log files to CSV and XML
-
Coded in C++ for speed and size
-
No runtime library dependencies
-
Comprehensive Windows style documentation
-
Visual Basic example source code
-
Includes 12 months free email support and minor release upgrades
-
Royalty free runtime
-
Source code and source code escrow available
Writing Log Entries
Use the EventSource class to write entries to the standard or custom event
logs. Set the ComputerName property to write an event log on a remote computer.
Specify the source name, category, event number and type of entry to write. You
can also include an array of insertion strings and binary data.
Reading and Backing up Log Files
The EventLog class provides access to the standard or custom event logs.
Use the SourceName property to specify the event log to access. You can read event
log records as well as backing up logs to file or clearing them. You may also
subscribe to an event that’s raised whenever the event log changes. When
reading, event log entries are cached internally to speed up access. For
advanced users you may specify the cache size and, if reading a log on a remote
computer, the message files lookup order.
With the EventLogBackup class you may read event logs that have been saved to
file either on the local or a remote computer.
Accessing Event Log Records
The EventLogRecord class represents event log records. It includes properties
to access the record number, user name, category number and description, event
type, event number and description, time, and data. Message and parameter files
are looked up to convert insertion strings into full category and event
descriptions. You may also access the raw insertion strings if required.
Configuring Event Logs
The EventLogConfiguration class allows you to read and update the configuration
for event logs. Specify the maximum size of the log file, the overwrite mode
and period. The EventSourceConfiguration class allows the setting and retrieval
of event source configuration information. This includes the various message
file paths, category count and event types supported.
XML and CSV Support
A number of support classes are also included for converting events logs to
comma separated value (CSV) records and XML. An EventLogMonitor class provides
enhanced event log monitoring.
|