Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

NT Event Logs

Posted on 2000-02-29
2
Medium Priority
?
213 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 300 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

972 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