Event Logger Object

Type Library

VB 5.0 Project-Reference Descriptive String of Type Library
Bindview DirectScript Event Log 3.2 Type Library


The Event Logger object is useful in logging events to the Windows event log. This object also provides interfaces for sending e-mail and pager alerts to specified e-mail addresses.

The object supports these interfaces:


Dim EventLog As IEventLogger
Dim EmailAlert As IEmailAlert

Dim PagerAlert As IPagerAlert

'Gets the interface.

'DirectScript.EventLogger.1'is the ProgId of

'the Event Logger component.

Set EventLog = CreateObject ("DirectScript.EventLogger.1"
Set EmailAlert = CreateObject ("DirectScript.EventLogger.1"
Set PagerAlert = CreateObject ("DirectScript.EventLogger.1"