E.V.I.C.T.  B.V.
Edwin Vermeer Information Communication Technology.
Google
 
Web SITESKINNER.COM



home / open source software / Eventlog

Your browser does not support webstandards: please upgrade your browser before proceding.(klick here for more information about web standards)

Event Log

This is a module with one function that will give you some more functionality than what you can do with the App.LogEvent method in VB6.

1. You will be able to specify the EventLog (Application, Security or System)

2. You are able to specify the Source (Your own Application identifier instead of the VBRuntime)

This module is also used in the ExeptionHandler dll.

Click here to download the complete source code.

How you can use EventLog.mod

' Using this module is easy. Just Call it like this:

writelog EventLog_Application,"My Special APP",
   vbLogEventTypeError, "Oep, Something went wrong :)"

' The parameter EventLog_Application specifies that
' it will be loged in the application log.
' "My Special App" will be the title on what it will
' be loged.
' vbLogEventTypeError specifies that it's an Error
' you can also have a warnign or info.
' And the last string is the text that is loged.
 
Cool! Planet-source-code
Thums up! Get Firefox! Valid HTML 4.01! Valid CSS!