N/APosted on - 08/25/2012
It is said that there are two methods of writing events to an Event Log.
I want to know both of the methods.
I also want to know the Shortcut way to jump to event log reader Microsoft vb6 in XP.
Short-cut way to jump to event log reader Microsoft vb6 in xp
There are actually two methods that you can use to write events to an Event Log.
They are as follows:
Using Windows Scripting Host Shell to Log Events
This is the easiest method you can use. It allows you to use the LogEvent method of the Shell object in order to write events directly to the event logs. It requires that you install Microsoft Windows Script Host.
Using a Visual Basic Component to Log Events
You can log the events to the Event Log by creating a Visual Basic component that uses the LogEvent method of the Application object in order to write the events to the Event Log. It requires that you install Visual Basic 6.0.