Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Eventlog Filter

Status
Not open for further replies.

inexperienced1

IS-IT--Management
Aug 9, 2002
49
0
0
US
I would like to codee a filter for an eventlog. I have code that read and interprets a number of server event logs. My problem at present is that to find entries I have to look through each entry via for...next loop, which is horrendously slow.

eventvwr and eventqry.vbs have filter options, where is the code in .Net??

Many thanks
 
One way to do it is to pull it into a Dataset and then use the Find method.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top