Which WinAPI Call should i use to read Control Panel functions.

R

Rajesh Kaki

HI,

generally we can see the list of programs installed on our machine from Add
or Remove programs.
I need to write a VB code to read the Programs listed there.
I have to use a windows API Call in Visual Basic 6.0 to read this list from
Add or Remove Programs.
can any one please help me
 
M

MikeR

Rajesh said:
HI,

generally we can see the list of programs installed on our machine from Add
or Remove programs.
I need to write a VB code to read the Programs listed there.
I have to use a windows API Call in Visual Basic 6.0 to read this list from
Add or Remove Programs.
can any one please help me
It's not an API. The info is contained in the registry under HKEY_LOCAL_MACHINE
SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\

This URL has a VBScript for reading it http://billsway.com/vbspage/ about half way down.
Mike
 
R

Rajesh Kaki

Hi MikeR,

Thanks for your information given. I opened the Registry location to see
the list of programs installed. I could see only few are listed in the
"Add/Remove Programs-> Change or Remove Programs" compared to the list of
programs in the registry.
may i know the reason why only few are listed there. Actually what i want is
to read the list of programs that are listed in "Add/Remove Program->Change
or Remove Programs".
Thanks for your response.
 
M

MikeR

Rajesh said:
Hi MikeR,

Thanks for your information given. I opened the Registry location to see
the list of programs installed. I could see only few are listed in the
"Add/Remove Programs-> Change or Remove Programs" compared to the list of
programs in the registry.
may i know the reason why only few are listed there. Actually what i want is
to read the list of programs that are listed in "Add/Remove Program->Change
or Remove Programs".
Thanks for your response.
Rajesh -
The only thing that comes to mind immediately is that some of the entries in the
registry are for updates, which by default are not shown in Add/Remove programs.
There is a check box on that dialog to show the updates.
Is there any thing in the VBScript to allow retrieval of different kinds of entries?
If that's not it, I have no more information. There's probably something in MSDN
about it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top