By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,512 Members | 3,689 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,512 IT Pros & Developers. It's quick & easy.

Eventlog class not returning message

P: n/a
I am using the eventlog class to read the event logs. This works ok except
that the message is not returned correctly for most events. For example,
suppose there is an event in the event log with message 'The Windows Time
service has stopped'

Open the message in event viewer and the message shows correctly
Open the message via WMI and the message shows correctly
Open the message via eventlog class and you get 'The desciption for event
xxx in yyy cannot be found."

Is there anyway to use the eventlog class to map to the event log message.
It works in WMI so I wonder why it does not work in event class.

Many thanks for any assistance.

Jun 20 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.