Click here to Skip to main content
15,905,686 members
Home / Discussions / C#
   

C#

 
GeneralRe: Performance: String.Length==0 or String == String.Empty Pin
Heath Stewart11-May-04 4:29
protectorHeath Stewart11-May-04 4:29 
GeneralConvert char* to string Pin
peraonline11-May-04 2:09
peraonline11-May-04 2:09 
GeneralRe: Convert char* to string Pin
bertcox11-May-04 3:26
bertcox11-May-04 3:26 
GeneralRe: Convert char* to string Pin
Judah Gabriel Himango11-May-04 3:49
sponsorJudah Gabriel Himango11-May-04 3:49 
GeneralRe: Convert char* to string Pin
peraonline11-May-04 20:32
peraonline11-May-04 20:32 
GeneralRe: Convert char* to string Pin
Heath Stewart12-May-04 2:55
protectorHeath Stewart12-May-04 2:55 
GeneralRe: Convert char* to string Pin
peraonline12-May-04 3:10
peraonline12-May-04 3:10 
GeneralRe: Convert char* to string Pin
Heath Stewart12-May-04 3:57
protectorHeath Stewart12-May-04 3:57 
GeneralRe: Convert char* to string Pin
peraonline12-May-04 4:03
peraonline12-May-04 4:03 
GeneralCharacter Encoding Pin
gUrM33T11-May-04 1:45
gUrM33T11-May-04 1:45 
GeneralRe: Character Encoding Pin
Mike Dimmick11-May-04 3:33
Mike Dimmick11-May-04 3:33 
GeneralRe: Character Encoding Pin
Paul Watson11-May-04 4:11
sitebuilderPaul Watson11-May-04 4:11 
GeneralRe: Character Encoding Pin
Heath Stewart11-May-04 4:25
protectorHeath Stewart11-May-04 4:25 
GeneralbeginInvoke() Pin
sreejith ss nair11-May-04 1:32
sreejith ss nair11-May-04 1:32 
GeneralRe: beginInvoke() Pin
Heath Stewart11-May-04 4:14
protectorHeath Stewart11-May-04 4:14 
GeneralRe: beginInvoke() Pin
Paul Watson11-May-04 4:14
sitebuilderPaul Watson11-May-04 4:14 
GeneralHTTP request,response Pin
dcronje11-May-04 1:05
dcronje11-May-04 1:05 
GeneralRe: HTTP request,response Pin
Heath Stewart11-May-04 4:05
protectorHeath Stewart11-May-04 4:05 
Generalhelp on wmi and registry Pin
chettu11-May-04 0:54
chettu11-May-04 0:54 
GeneralRe: help on wmi and registry Pin
Heath Stewart11-May-04 3:59
protectorHeath Stewart11-May-04 3:59 
GeneralRe: help on wmi and registry Pin
chettu11-May-04 20:18
chettu11-May-04 20:18 
GeneralRe: help on wmi and registry Pin
Heath Stewart12-May-04 2:52
protectorHeath Stewart12-May-04 2:52 
You can enumerate the registry key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall, but this will still not help you since it will be full of proprietary installs. Just record the executable name and have a database (even an XML file or something) that matches those executable names with product names. You won't be able to do it any other way. Query all the MSI packages for that filename will be slow (not to mention shared components will belong to multiple packages), and querying proprietary installs would either not work (they'd have to leverage such functionality, and most don't) and would force you to write APIs for all those that do. If that was even possible, it would take an extrodinary amount of time to find which software package the file belongs to; if you use a database of some sorts, this would be much faster.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: help on wmi and registry Pin
chettu12-May-04 3:21
chettu12-May-04 3:21 
Generalblock the keyboard Pin
cristina_tudor11-May-04 0:36
cristina_tudor11-May-04 0:36 
GeneralRe: block the keyboard Pin
Corinna John11-May-04 0:50
Corinna John11-May-04 0:50 

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.