NT Event Logs

How can I access/monitor the NT Event Logs using VB? What I would like to do is monitor for a certain event id and if found then......log, alert etc etc.

Any help would be great.

Please note, I do not want any 3rd party apps that have this functionality. I am looking for some VB code or a control that will do this.
Who is Participating?
danelroismanConnect With a Mentor Commented:
TimCotteeHead of Software ServicesCommented:
look in http://www.netfokus.dk/vbadmincode/codevb.html for the eventlog section, there are sample projects for reading and writing to the NT event log there.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.