EventLog Source

  • Thread starter Thread starter Paul J. Lay
  • Start date Start date
P

Paul J. Lay

I used the EventLog class to create an Event Source under the Application
log. That was a snap. In order to register custom event categories, it
appears that you need to know the guiid of the event source. Is that
correct? If so what is an easy way to determine the guid of the event
source? Please advise. Thanks for your help.

Best Regards,

Paul J. Lay
 
Paul said:
I used the EventLog class to create an Event Source under the
Application log. That was a snap. In order to register custom event
categories, it appears that you need to know the guiid of the event
source. Is that correct? If so what is an easy way to determine the
guid of the event source? Please advise. Thanks for your help.

No, see my reply to the message "EventLog Category in this newsgroup". You
need to update the registry and provide a category message file. EventLog is
a broken class, but its all we have at the moment unless you are willing to
use p/invoke.

Richard
 
Back
Top