Results 1 to 2 of 2

Thread: VB - WMIBrowser

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jul 2006
    Location
    Maldon, Essex. UK
    Posts
    6,334

    VB - WMIBrowser

    Windows Managemet Instrumentation (WMI) provides access to a huge set of information about a Computer System running Windows. Unfortunately it's not too easy to identify exactly where a piece of information is and what is actually available. The WMI Browser goes some way towards helping.

    It starts off by enumerating all the WMI Namespaces (logical divisions of the WMI Classes). Clicking on a Namespace will display all the Classes within that Namespace. In the resulting TreeView, the operator has the options of (obviously, expanding the Nodes) and:

    (a) Clicking on a Class name - The Results TreeView will display all the Properties and Methods (if any) associated with the Class. Clicking on a Property will display its Type.

    (b) Checking the CheckBox displayed next to a ClassName - Will execute that class immediately and display the results in the Results TreeView.

    The program uses the WMI semi-synchronous access method to execute the Class, so it is possible (in most casses) to halt the execution of the Class if required. (Some Classes may execute for a long time. eg Displaying all the Installed Software products)

    I wrote this in July 2006 and have used it successfully fairly frequently but it may contain the odd bug or two that I haven't come upon yet. I have tested it under Vista (recently, as an Administrative User), XP SP2 (Home Edition), Windows 2000, and ME and it appears to function correctly under all of them.

    Note that not all the WMI Classes are necessarily implemented, those prefixed 'CIM' with no 'WIN32' sub-classes normally return "No Results to Display" and even some of the 'WIN32' classes return the same result.

    Happy browsing
    Attached Files Attached Files
    Last edited by Doogle; Apr 2nd, 2008 at 03:43 AM.

  2. #2
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    3,560

    Re: VB - WMIBrowser

    A very useful utility, thanks Doogle. Hope you are still around to receive the thanks.
    https://github.com/yereverluvinunclebert

    Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.

    By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

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