473,473 Members | 2,102 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

List All Installed Applications (Including Path To Exe) On Local Machine

Hi all,

I am trying to create a small form much like the Windows Explorer 'open
with...' dialog box, which will contain a list of all applications installed
on the local machine and their associated icons.

I can display all installed applications by accessing the registry path:
"LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentV ersion\Uninstall",
however this does not give me the path to the applications executable file
(which I need to retrieve the icon and more importantly start the program).

Any help on retrieving all application names and the paths the their exe's
would be greatly appreciated.

Thanx

Will @ Multepos

Nov 21 '05 #1
1 4408
Hi,
Add a reference to system.management. Not all apps report the
installlocation.

Dim moReturn As Management.ManagementObjectCollection

Dim moSearch As Management.ManagementObjectSearcher

Dim mo As Management.ManagementObject

moSearch = New Management.ManagementObjectSearcher("Select * from
Win32_Product")

moReturn = moSearch.Get

For Each mo In moReturn

Debug.WriteLine(String.Format("{0} Location {1} ", mo("Name"),
mo("InstallLocation")))

Next

Ken

-----------------------

"Will Arrowsmith" <wi**@multepos.co.uk> wrote in message
news:ee**************@TK2MSFTNGP10.phx.gbl...
Hi all,

I am trying to create a small form much like the Windows Explorer 'open
with...' dialog box, which will contain a list of all applications installed
on the local machine and their associated icons.

I can display all installed applications by accessing the registry path:
"LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentV ersion\Uninstall",
however this does not give me the path to the applications executable file
(which I need to retrieve the icon and more importantly start the program).

Any help on retrieving all application names and the paths the their exe's
would be greatly appreciated.

Thanx

Will @ Multepos


Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Mac | last post by:
Hello Anyone has a list of software needed to be installed on below Operating systems to be able to run C# applications. a. Win98 b. Win2000 Pro Regards, Mac
1
by: BuddyWork | last post by:
Hello, When a particular user (has administrator rights) on a Windows 2000 Server SP4 tries to run any MSI's we get the message mentioned in the subject. If we logon with another user that has...
10
by: Conan | last post by:
Hi, I am having a problem with .Net / Visual Studio that I can't find the cause of. I have searched newsgroups and the web and find people with similar but different (I think) problems. Here's...
0
by: Will Arrowsmith | last post by:
Hi all, I am trying to create a small form much like the Windows Explorer 'open with...' dialog box, which will contain a list of all applications installed on the local machine and their...
10
by: musosdev | last post by:
Hi guys I'm trying to migrate to VS2005... I've managed to do that, but realised I'd opened my web projects as file projects, and I'm getting the error about network BIOS command limit. ...
1
by: Paul Sullivan | last post by:
I have encountered the same problem another posted about several months ago. Unfortunately, there was no result posted on the old thread. I will let the original message text stand and ask if...
4
by: =?Utf-8?B?WWFlbA==?= | last post by:
Hi, I want to check if in this computer have outlook a programe. If yes --> System.Diagnostics.Process.Start ("OUTLOOK.EXE"); How to check if no?? if no --some msg... How can I check it? How...
1
by: Leonid Lastovkin | last post by:
I would like to be able to find out which version of Microsoft Office is installed on the host computer. How can I implement this query in C#? I do not need the whole program, but a relevant code...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: List of autostart locations Linked from the Original article- "Windows Autorun FAQs: Description". Que: Can you list all the autostart locations for windows? Ans: Here is...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.