Contact Info

Crumbtrail

ActiveXperts.com » Administration » Scripts » Adsi

Write Events to the Local Event Log in Windows

You can use any of the VBScript programs below in ActiveXperts Network Monitor. Click here for an explanation about how to include scripts in ActiveXperts Network Monitor.

Write Events to the Local Event Log in Windows using VBScript, WMI and LDAP

Example(s)

Const EVENT_SUCCESS = 0

Set objShell = Wscript.CreateObject("Wscript.Shell")

objShell.LogEvent EVENT_SUCCESS, _
    "Payroll application successfully installed."