Solved

NT Event Logs

Posted on 2000-02-29
2
196 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

733 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