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

    Event Viewer Program

    Hi All

    I have been asked by my company to create a small program that runs as a service, this program will look up the event viewer, search all logs that are being logged for specific types and export the information for all found instances of that type to a SQL database. This will be done once a day. From there a report will be generated and emailed to certain people so they can look at and take action if necessary. This program will need to run on both Windows 2000 and Windows 2003 servers.

    I have never creted a service before so a little help is needed here, also never tried to gain access to the event viewer so a little help on this part would be appreciated aswell.

    Regards

    Djbell

  2. #2
    Join Date
    Dec 2003
    Location
    Northern Ireland
    Posts
    1,362

    Re: Event Viewer Program

    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rich Cook


    0100 1101 0110 1001 0110 0011 0110 1000 0110 0001 0110 0101 0110 1100 0010 0000 0100 0101 0110 1100 0110 1100 0110 0101 0111 0010

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