Reading Entries from EventLog in vista<p><span style="font-size:xx-small"><span style="font-size:xx-small">Hi,</span></span></p> <p><span style="font-size:xx-small"><span style="font-size:xx-small">I want to be able to read the entries in one of the entries in the Microsoft-Windows-GroupPolicy/Operational under Applications and Services log in C#. When I use </span></span></p> <p><span style="font-size:xx-small"><span style="font-size:xx-small">System.Diagnostics.EventLog.Exists(&quot;Microsoft-Windows-GroupPolicy/Operational&quot;), to see if the log event exists, it returns false. I've found that to be true for all logs that are nested in sub folders. Is there another way to do this?</span></span></p> <p><span style="font-size:xx-small"><span style="font-size:xx-small">Thanks in advance,<br/>Cheryl<br/></span></span></p>© 2009 Microsoft Corporation. All rights reserved.Tue, 11 Aug 2009 16:15:13 Z31a66059-702d-492e-a1a1-1061d389d7b3http://social.msdn.microsoft.com/Forums/en-US/etw/thread/31a66059-702d-492e-a1a1-1061d389d7b3#31a66059-702d-492e-a1a1-1061d389d7b3http://social.msdn.microsoft.com/Forums/en-US/etw/thread/31a66059-702d-492e-a1a1-1061d389d7b3#31a66059-702d-492e-a1a1-1061d389d7b3Cheryl Josephhttp://social.msdn.microsoft.com/Profile/en-US/?user=Cheryl%20JosephReading Entries from EventLog in vista<p><span style="font-size:xx-small"><span style="font-size:xx-small">Hi,</span></span></p> <p><span style="font-size:xx-small"><span style="font-size:xx-small">I want to be able to read the entries in one of the entries in the Microsoft-Windows-GroupPolicy/Operational under Applications and Services log in C#. When I use </span></span></p> <p><span style="font-size:xx-small"><span style="font-size:xx-small">System.Diagnostics.EventLog.Exists(&quot;Microsoft-Windows-GroupPolicy/Operational&quot;), to see if the log event exists, it returns false. I've found that to be true for all logs that are nested in sub folders. Is there another way to do this?</span></span></p> <p><span style="font-size:xx-small"><span style="font-size:xx-small">Thanks in advance,<br/>Cheryl<br/></span></span></p>Thu, 02 Jul 2009 14:24:43 Z2009-07-02T14:24:43Zhttp://social.msdn.microsoft.com/Forums/en-US/etw/thread/31a66059-702d-492e-a1a1-1061d389d7b3#54aaa831-6f93-4b34-a96d-4a1d4e1a9eedhttp://social.msdn.microsoft.com/Forums/en-US/etw/thread/31a66059-702d-492e-a1a1-1061d389d7b3#54aaa831-6f93-4b34-a96d-4a1d4e1a9eedKarel Zikmundhttp://social.msdn.microsoft.com/Profile/en-US/?user=Karel%20ZikmundReading Entries from EventLog in vistaThis seems to be related: <a href="http://www.codeguru.com/columns/kate/article.php/c12401">http://www.codeguru.com/columns/kate/article.php/c12401</a>Thu, 02 Jul 2009 15:53:41 Z2009-07-02T15:53:41Zhttp://social.msdn.microsoft.com/Forums/en-US/etw/thread/31a66059-702d-492e-a1a1-1061d389d7b3#072092cf-9aca-4cc7-8476-dfae3969e755http://social.msdn.microsoft.com/Forums/en-US/etw/thread/31a66059-702d-492e-a1a1-1061d389d7b3#072092cf-9aca-4cc7-8476-dfae3969e755Cheryl Josephhttp://social.msdn.microsoft.com/Profile/en-US/?user=Cheryl%20JosephReading Entries from EventLog in vistaAny C# examples?Thu, 02 Jul 2009 17:02:18 Z2009-07-02T17:02:18Zhttp://social.msdn.microsoft.com/Forums/en-US/etw/thread/31a66059-702d-492e-a1a1-1061d389d7b3#f276e1c1-8acb-461e-8615-8711174131b1http://social.msdn.microsoft.com/Forums/en-US/etw/thread/31a66059-702d-492e-a1a1-1061d389d7b3#f276e1c1-8acb-461e-8615-8711174131b1Zina Pozenhttp://social.msdn.microsoft.com/Profile/en-US/?user=Zina%20PozenReading Entries from EventLog in vistaIf you can take a dependency on .Net 3.5, System.Diagnostics.Eventing.Reader namepespace is there to consume Windows Event logs.Wed, 05 Aug 2009 21:53:50 Z2009-08-05T21:53:50Z