Different parts of a locally-installed application write to the same
custom event log. I would like to query the log and write the data to
an XML string. Can anyone show how that could be done?

Thanks.

Re: Query Local Event Log (with WMI)? by Henning

Henning
Mon Apr 28 12:58:53 CDT 2008

Hello,

from .NET you can use the EventLog class. It has an Entries property giving
you access to the entries.

Kind regards,
Henning Krause

"coconet" <coconet@community.nospam> wrote in message
news:5b3c14l12ohq12onmjll457bf1p2t9dusk@4ax.com...
>
> Different parts of a locally-installed application write to the same
> custom event log. I would like to query the log and write the data to
> an XML string. Can anyone show how that could be done?
>
> Thanks.
>


Re: Query Local Event Log (with WMI)? by coconet

coconet
Mon Apr 28 15:48:54 CDT 2008

Done deal, thanks.

On Mon, 28 Apr 2008 19:58:53 +0200, "Henning Krause [MVP - Exchange]"
<newsgroups_remove@this.infinitec.de> wrote:

>Hello,
>
>from .NET you can use the EventLog class. It has an Entries property giving
>you access to the entries.
>
>Kind regards,
>Henning Krause
>
>"coconet" <coconet@community.nospam> wrote in message
>news:5b3c14l12ohq12onmjll457bf1p2t9dusk@4ax.com...
>>
>> Different parts of a locally-installed application write to the same
>> custom event log. I would like to query the log and write the data to
>> an XML string. Can anyone show how that could be done?
>>
>> Thanks.
>>