CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2010
    Posts
    1

    Lightbulb Event Log + WMI + Slowness

    I am using Win32_NETLogEvent Class + VB.NET in order to access event log in a remote computer and apply some filters on it. And it has been nothing but slowness and more slowness.

    I tried 3 diferent ways to access the event log:
    1st just working on WMI
    2nd tried to move to a list
    3rd tried to copy to an array
    I know, basically it's is all the same... I know...

    I have 2 diferent situations on my filters:
    1st Need to obtain all diferent types of sources, and I am not able to filter the result in less than 5 min for 68K records
    2nd Need to filter inside the event log description.


    If you have any experience that made faster for you to access it, please let me know.

    Thanks a Lot.

    Eve

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Event Log + WMI + Slowness

    Try Powershell 2.0 (makes it easy. DOS like commands)
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured