I don't think I have been clear on what I am trying to do.
Right click My Computer then click Manage.
Expand the Event View branch under Systems Tools.
Click Application.
This shows a list of application events. I need to be able to write to this event log.
In VB 6.0 I can write the code
App.LogEvent "My Event Message", vbLogEventTypeInformation
App.LogEvent "My Event Message", vbLogEventTypeWarning
App.LogEvent "My Event Message", vbLogEventTypeError
All the computers I need to do this on are running Windows XP.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.