CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2009
    Posts
    1

    Read from Vista Event log

    Hi,

    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

    System.Diagnostics.EventLog.Exists("Microsoft-Windows-GroupPolicy/Operational"), 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?

    Thanks in advance,
    Cheryl

  2. #2
    Join Date
    May 2007
    Posts
    437

    Re: Read from Vista Event log

    ashu
    always use code tag

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured