473,395 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Regarding win32_Product WMI class

53
Hello All,

I am doing one .Net C#.Net 2.0 Windows appliaction.

In that I am displaying the installed products information by using win32_Product class in a ListView Control. it is diplaying the software with the Param "FilePath" also.
If I do the software upgradation by selecting any product (having the param "FilePath"), by using "Upgrade" method of Invoke method.
After upgradation is done, i want to refresh the result pane that is List view. Here again querying WMI to get the data by using WIn32_Product , but this time WMI is not returning the "File Path" of the software which we have done upgradation.

What could be the problem? Why WMI is not returning the Param "FilePath" after the upgradation is done. Is there any limitaion?

Please give me some input regarding this........
May 22 '08 #1
0 1242

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: darkstorm | last post by:
I have a doubt regarding inheritance involving templates Consider this: ///////////////////////////////////// template<typename T> class A { private: T m_a;
2
by: He Shiming | last post by:
Hi, I've got a question regarding class inheritance. The following code reproduces the problem I'm dealing with: class IBase { public: virtual void Method(void)=0; };
3
by: Karl M | last post by:
Hi everyone, I just notice some strange behaviors on the MS C++ compiler regarding struct default constructor, see the example bellow: struct MyStruct { int a; }; class MyClass { public:
3
by: Steve Long | last post by:
Hello, can someone help me figure out how to do a couple of things here? I would like to use the Uninstall method of the Win32_Product class and am having trouble figuring this one out. When I do...
5
by: Brian Henry | last post by:
I have this script Dim query As New ManagementObjectSearcher("Select * from Select * from Win32_Product") Debug.Write(query.Get().Count) For Each mo As ManagementObject In query.Get ...
3
by: Pravesh | last post by:
Hello All, I had some query regarding virtual functions/destructors. If a class is having some/all of its methods that are virtual then is it recommended that it should also have virtual...
1
by: msanjayv | last post by:
Hi I have a two doubt's regarding constructor. Consider the following situation. I have two classes A & B. A is the base class and B is a class which inherits class A. I have main...
0
by: DKn | last post by:
Hi all, I am trying to do Software upgradation using Win32_Product -Upgrade method in C#.Net. Here is the code. using System; using System.Management; using System.Windows.Forms;
4
by: Pranav | last post by:
Hello All, I have a simple question regarding the definition of abstract class, IIRC , Abstract class is one which contains virtual function declaration and other variables and no object of this...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.