Type Library
EVENTLOGLib
VB 5.0 Project-Reference Descriptive String
of Type Library
Bindview DirectScript Event Log 3.2 Type Library
DLL
QSEVTLOG.DLL
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:
IEventLogger: the default interface for this object. Can be used to set details of an event and its logging.
IEmailAlert: Can be used to set details of an e-mail message and its dispatch (sending).
IPagerAlert: Can be used to set details of a pager message and its dispatch (sending).
Example
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")