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.
Here is some sample code:
writelog EventLog_Application,"My Special APP", vbLogEventTypeError, "Oeps, Something went wrong"