Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

NT Event Logs

Posted on 2000-02-29
2
195 Views
Last Modified: 2010-05-02
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.
0
Comment
Question by:Mirado
2 Comments
 
LVL 2

Accepted Solution

by:
danelroisman earned 100 total points
ID: 2572012
0
 
LVL 43

Expert Comment

by:TimCottee
ID: 2572014
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.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to create a duplicate finder Application 9 122
Excel VBA, find a string in a column, update a cell 7 86
Passing a Text Box name to a Sub 6 99
Problem to With line 4 63
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question