| Login

Search this Blog


Links I like to keep around




Here are the most recent postings to this blog. Use the archive calendar or search to find other entries.
Nov17

Written by:R Teachout
11/17/2006 12:20 AM


Sub WriteEvent(sText, iType)
 ' iType can be:
 ' 0 = Success
 ' 1 = Error
 ' 2 = Warning
 ' 4 = Informational
 ' 8 = Audit success
 ' 16 = Audit failure
 Dim oShell
 Set oShell = WScript.CreateObject("WScript.Shell")
 oShell.LogEvent iType,sText
End Sub

Tags:

If a problem can be solved, there's no use worrying about it. If it can't be solved, worrying will do no good.
-Unknown

Inspired by Nina