Capture the Entry of Items into the Event Log (VB.NET)
Category:C#, VB.NET, ASP.NET
Version Compatibility: Visual Basic.NET
This code demonstrates how to capture the entry of items in the event log in a running vb application. The code in the sub that is invoked by the entry is designed as a trivial example, you have to substitute your own business logic.
Instructions: Copy the declarations and code below and paste directly into your VB project.