473,406 Members | 2,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

EventlLog - How to Query all the different logs

Tom
Is there an object that I can query that will return to me the different logs
in the EventLog? I know by default there exist a System, Security and
Application Eventl log.

But, I'd like to bind all the different logs dynamically to a dropDownList
control.

Just not sure which object to use.

I looked at Object EventLog but it did not have a method or property to
return the different logs within the Eventlog.

Thanks

Tom

PS I looked at
Nov 17 '05 #1
2 1200
"Tom" <To*@discussions.microsoft.com> wrote in message
news:E4**********************************@microsof t.com...
Is there an object that I can query that will return to me the different
logs
in the EventLog? I know by default there exist a System, Security and
Application Eventl log.


Hi. You can pull the list from the Registry at:

HKLM\SYSTEM\ControlSet001\Services\Eventlog

-- Alan
Nov 17 '05 #2

"Tom" <To*@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
Alan:

Thanks I can do that but do you know why the object model doesn't supply a
method or property?

Thanks

Tom


There is...

EventLog.GetEventLogs();

Willy.

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: MX1 | last post by:
Here's a type of query I'm always having trouble with. There are 4 fields in a web access log table. User | Date | Time | Destination I want to show all the instances of a user hitting a...
4
by: Brian Lowe | last post by:
I'm using Forms authentication with my user data in a SQL db. I have pages in the main appliaction folder accessible to anonymous users and I've set security to deny annonymous users access to...
1
by: paul.dunstone | last post by:
Hi all I have an issue whereby I have a form which is split up into three different panels on the same page. However, as I requirment the IIS logs must record the three different stages of the...
2
by: dayjah | last post by:
Hi, We are in the process of setting my mysql replication on mysql ver 4.1.18. However we have noticed an odd bug that occurs every so often. Every hour we issue flush logs to mysql so that we...
0
by: cmessier | last post by:
Hello all, I'm using ASP.Net 2.0 to create a small web application that uses forms authentication. Currently, when a user logs out, a ReturnUrl is set in the QueryString. However, if at the...
1
by: Chris Curvey | last post by:
Hi all, I've apparently tied myself up a bit using the logging package. In my project, I have a core set of model and controller classes that set up their logging using logging.fileConfig()....
1
by: JA | last post by:
Hi, I know just about nothing about SQL Server. I am getting this error: The log file for database 'my_database' is full. Back up the transaction log for the database to free up some log space. ...
1
by: bill.dourado | last post by:
Using DB2:- Product identifier SQL08027 Level identifier 03080106 Level DB2 v8.1.14.292 Build level s061108 PTF ...
3
by: =?Utf-8?B?Q0QuU21hbGxleQ==?= | last post by:
Is there a command line switch available for the EventViewer which will allow me to specify which directory to view the available logs from? I will have multiple workstations writing to a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.