Re: WMI / NameSpace / Providers

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I don't know if I can help anymore than what I have.

Did you look at the "__Win32Provider" class?


"Kishanb" <Kishanb@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:06C57474-0862-40D6-914D-AD03690E0913@xxxxxxxxxxxxxxxx
> Hello Sam:
>
> Greetings and thanks. I really appreciate your help in this matter.
>
> As suggested by you, I Installed the SDK and am purusing the
> Documentation.
>
> As for your qs about using WBEMTest, yes, I have used it.
>
> WHat I am trying to do is develop a small WebPage(s) application.
> Visualize,
> if you will, 3 list boxes - lb1, lb2 and lb3. The application will not be
> doing any 'Instrumentation'; at least at this time.
>
> The first list box will have the Providers from the root\cimv2 namespace.
> I
> do not need to see or capture all the providers [for e.g Active
> Directory,
> which is a Provider but from a different namespace, root\directory\ldap
> and
> so on.] Now, I want to know what SQL / WQL I need to write to capture this
> info to populate my lb1. If I can do this, I can say I am well on my way
> to
> completing my tasks in terms of populating the lb2 and lb3. Just so I am
> clear, for any item selectedin lb1, will show the corresponding objects in
> the lb2. For the item selected in lb2, similarly, will populate the class
> items in the lb3.
>
> I hope i make myself clear now. In my view, these should be fairly
> straight-forward queries that can be created and executed ina C# program
> to
> populate the various listboxes. However, I am hitting a road bump!
>
> Again, thanks for your reading, patience and help!
>
> "Sam Hobbs" wrote:
>
>> I don't know what you mean by "cimv2 DB structure". I think what you need
>> is
>> the WMI SDK documentation. Do you have the Windows Platform SDK
>> installed?
>> The WMI documentation is included with the Platform SDK documentation.
>> You
>> should have it installed in your system locally. An online copy of the
>> WMI
>> documentation is at:
>>
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/wmi_start_page.asp
>>
>> I am not sure but I think you can use the "__Win32Provider" class.
>>
>> Are you familiar with the "WBEMTest" tool? I am not sure where it comes
>> from; I think it is provided with the WMI SDK which is part of the
>> Platform
>> SDK. Using WBEMTest, click on the "Connect" button and connect to
>> "root\cimv2". Then click on the "Enum Instances" button and for the
>> superclass name enter "__Win32Provider". That will show you the results
>> of
>> queryihng that class. Also, if you click on the "Query" button, enter
>> something such as "select * from __Win32Provider" to get the same
>> results.
>> If that select is the type of thing that you are looking for, then it is
>> all
>> in the documentation.
>>
>>
>> "Kishanb" <Kishanb@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:B92B4EFA-3C97-40EC-8BF4-6F0177757F7B@xxxxxxxxxxxxxxxx
>> > Hello All & Greetings.
>> >
>> > Can someone please help me with writing a query to populate a listbox
>> > with
>> > the providers in the root\cimv2 namespace, please. Even just the query
>> > would
>> > be helpful - since I do not have the cimv2 DB structure.
>> >
>> > thanks,
>> >
>> > RKB
>> > email also: cansciences@xxxxxxxxx
>>
>>
>>


.



Relevant Pages

  • Re: WMI / NameSpace / Providers
    ... I Installed the SDK and am purusing the Documentation. ... For the item selected in lb2, similarly, will populate the class ... I think it is provided with the WMI SDK which is part of the Platform ...
    (microsoft.public.win32.programmer.wmi)
  • Re: WMI / NameSpace / Providers
    ... Do you have the Windows Platform SDK installed? ... The WMI documentation is included with the Platform SDK documentation. ... I think it is provided with the WMI SDK which is part of the Platform ...
    (microsoft.public.win32.programmer.wmi)
  • Re: I cant believe how complex this Format SDK is...
    ... what I perceive as inadequacies in the WMF SDK documentation. ... First major complain is trying to hunt down error codes and what they ... out a way to save an already compressed JPEG into an ASF file without having ... The documentation on the media types and sub types is confusing and I ...
    (microsoft.public.windowsmedia.sdk)
  • Re: I cant believe how complex this Format SDK is...
    ... But I don't feel that this is the case with the Format SDK. ... technologies from low level interrupt programming to high-level user ... I find the documentation more than sufficient. ... -- In looking at profiles, am I even looking in the right place? ...
    (microsoft.public.windowsmedia.sdk)
  • Re: I cant believe how complex this Format SDK is...
    ... struggling with this SDK documentation for some time now. ... developers to use this technology then it is high time to fix the SDK ... My *only* desire is to create a lossless silent movie out of those ... -- In looking at profiles, am I even looking in the right place? ...
    (microsoft.public.windowsmedia.sdk)