Hi all,
Can any body tell me how can I enumerate all installed programs in a computer?
Thank you very much
Printable View
Hi all,
Can any body tell me how can I enumerate all installed programs in a computer?
Thank you very much
If you enumerate all of the entries (except CLASSES) in the registry key HKEY_LOCAL_MACHINE\SOFTWARE.
There are some problems with this. Entries like Visual Basic 4.0 will show up, but it cannot be run. Also, if the use deleted a directory tree containing a registered program, the software also will not work. The program names are in the level
HKEY_LOCAL_MACHINE\SOFTWARE\MANUFACTURER NAME\PROGRAM NAME
Hi jim mcnamara,
I can not get any information of each program in this key HKEY_LOCAL_MACHINE\SOFTWARE.
And I also can not find the key: HKEY_LOCAL_MACHINE\SOFTWARE\MANUFACTURER NAME\PROGRAM NAME
You see, I want to enumerate all installed programs in a computer like "Add/Remove programs" in "control panel"
looking for your reply
Thanks
P/s: can you give me a small code to exam
There is sample code in this thread....
http://www.vbforums.com./showthread....alled+programs
Thanks so much, your code works quite well. but as I compare, there are some programs that I get from your program, I can find them in Add/Remove program. can you explain me why?
Post a separate question for Chrisjk - he posted the code to start.
Try this...
Lemme know if it works : )
It runs OK, Thanks