How to: Write to an Application Event Log (Visual Basic)
You can use the My.Application.Log and My.Log objects to write information about events that occur in your application. This example shows how to configure an event log listener so My.Application.Log writes tracing information to the Application event log
msdn.microsoft.com |