Thank you both for your response.
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.
Thanks,
Gabe