EventLog Source

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
 
R

Richard Grimes [MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top