Solved

WMI

Posted on 2004-04-08
5
296 Views
Last Modified: 2010-04-01
HI! I want to display the names of the Installed Products which r on the remote machine using WMI in VC++ 6.0 !

Can anybody gives the solution for this one ?
0
Comment
Question by:NewToEE
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 14

Expert Comment

by:wayside
ID: 10782742
Here's a project on CodeGuru that can show you how to do this:

http://www.codeguru.com/Cpp/W-P/system/misc/article.php/c5675/

I think the WIN32_Product object will get you what you want.

I've extended this program to show more of the attributes, if you want I can post this code.
0
 
LVL 14

Accepted Solution

by:
wayside earned 240 total points
ID: 10782764
Note that this project doesn't include WIN32_Product in its object list by default, but you can type it into the combo box.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question