Click here to Skip to main content
16,017,922 members
Home / Discussions / C#
   

C#

 
GeneralAdditional thoughts Pin
Urs Enzler16-Aug-07 3:39
Urs Enzler16-Aug-07 3:39 
AnswerRe: Declaring Global variables in .cs file Pin
User 167325216-Aug-07 14:36
User 167325216-Aug-07 14:36 
QuestionRetrieving the installed softwares in WMI [modified] Pin
toink toink16-Aug-07 1:02
toink toink16-Aug-07 1:02 
AnswerRe: Retrieving the installed softwares in WMI Pin
Harkamal Singh16-Aug-07 1:53
Harkamal Singh16-Aug-07 1:53 
GeneralRe: Retrieving the installed softwares in WMI Pin
Scott Dorman16-Aug-07 3:50
professionalScott Dorman16-Aug-07 3:50 
AnswerRe: Retrieving the installed softwares in WMI Pin
Scott Dorman16-Aug-07 3:49
professionalScott Dorman16-Aug-07 3:49 
GeneralRe: Retrieving the installed softwares in WMI Pin
toink toink23-Aug-07 0:47
toink toink23-Aug-07 0:47 
GeneralRe: Retrieving the installed softwares in WMI Pin
Scott Dorman23-Aug-07 3:06
professionalScott Dorman23-Aug-07 3:06 
toink toink wrote:
how about if we will display the installdate and installlocation using the latter code? or using the registry?


What code are you referring to here?

toink toink wrote:
if inParam["sValueName"] = keyName is used to get the Displayname, how about the rest of the values? like installdate, softwarepath and the rest of the values?


It sounds like you would probably do better to use this
C#
ManagementObjectSearcher products = new ManagementObjectSearcher("SELECT * FROM Win32_Product");
foreach (ManagementObject product in products.Get())
{
   Console.WriteLine("Software name: {0}", product.Name);
   Console.WriteLine("Install date: {0}", product.InstallDate);
   ...
}



Scott.

—In just two days, tomorrow will be yesterday.

[Forum Guidelines] [Articles] [Blog]

QuestionDataGridView Pin
nasambur16-Aug-07 0:56
nasambur16-Aug-07 0:56 
AnswerRe: DataGridView Pin
Rocky#16-Aug-07 1:27
Rocky#16-Aug-07 1:27 
GeneralRe: DataGridView Pin
nasambur16-Aug-07 1:45
nasambur16-Aug-07 1:45 
GeneralRe: DataGridView Pin
Rocky#16-Aug-07 1:55
Rocky#16-Aug-07 1:55 
QuestionHow My C# code read Excel file and save all data to SQL server2000? Pin
shafikshafik16-Aug-07 0:41
shafikshafik16-Aug-07 0:41 
AnswerRe: How My C# code read Excel file and save data it to SQL server2000? Pin
Giorgi Dalakishvili16-Aug-07 0:43
mentorGiorgi Dalakishvili16-Aug-07 0:43 
GeneralRe: How My C# code read Excel file and save data it to SQL server2000? Pin
shafikshafik16-Aug-07 1:13
shafikshafik16-Aug-07 1:13 
GeneralRe: How My C# code read Excel file and save data it to SQL server2000? Pin
pmarfleet16-Aug-07 1:21
pmarfleet16-Aug-07 1:21 
GeneralRe: How My C# code read Excel file and save data it to SQL server2000? Pin
Giorgi Dalakishvili16-Aug-07 1:23
mentorGiorgi Dalakishvili16-Aug-07 1:23 
Questionadd application at startup Pin
Naveed72716-Aug-07 0:37
Naveed72716-Aug-07 0:37 
AnswerRe: add application at startup Pin
Giorgi Dalakishvili16-Aug-07 0:42
mentorGiorgi Dalakishvili16-Aug-07 0:42 
AnswerRe: add application at startup Pin
Harkamal Singh16-Aug-07 4:56
Harkamal Singh16-Aug-07 4:56 
QuestionInserting text and image in word document Pin
praveen pandey16-Aug-07 0:34
praveen pandey16-Aug-07 0:34 
QuestionHow can i make call using modem and recive call via modem Pin
Naveed72716-Aug-07 0:33
Naveed72716-Aug-07 0:33 
AnswerRe: How can i make call using modem and recive call via modem Pin
pbraun16-Aug-07 6:43
pbraun16-Aug-07 6:43 
Questioncall a conn. string Pin
costavo15-Aug-07 23:19
costavo15-Aug-07 23:19 
AnswerRe: call a conn. string Pin
Christian Graus15-Aug-07 23:24
protectorChristian Graus15-Aug-07 23:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.