CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Threaded View

  1. #2

    Re: How can I do a WMI Bulk data retrieval ?

    I haven't used WMI in a long time, but can you concatenate your queries? For example:

    Code:
    Set colItems = objWMIService.ExecQuery("Select * from Win32_Processor; Select * from Win32_BIOS")
    EDIT - Nope - scratch that idea. I think the problem you're going to run into by doing this is the namespaces will collide - For example, the Processor namespace and the BIOS namespace could both have a Name object. You may just have to run multiple queries.
    Last edited by mmetzger; November 20th, 2008 at 09:14 AM.

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