List All Programs Installed On Computer
Aug 15, 2011instead of all listed in the registry key, "Microsoft Digital Image Library 9" doesn't even show in installed programs list. [Code]
View 2 Repliesinstead of all listed in the registry key, "Microsoft Digital Image Library 9" doesn't even show in installed programs list. [Code]
View 2 RepliesHow to get list of installed programs into my listbox?
View 5 RepliesI'd like to mention that getting a list of the installed programs via the registry is not a viable way to receive a full an accurate list. The two main areas where the programs in the registry are stored, are mainly MS programs. Some manufacturers put their keys here as well, but most don't. And since it's impossible to know where the manufacturer has stored the key, let alone the name of the key that would give the list and the uninstall capability, it's not ideal to use the registry.
That being said, I was told that there is a COM API that Microsoft has made and uses in the Windows OS and was hoping someone knew what that API is and how to maybe implement it in VB.
I know that all installed programs and updates can be found at HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall key in the registry.
But how can I differentiate between installed programs and installed updates?
I need to get a list of installed program on local machine with application icons. Below is the code snippet that am using to get the list of installed program and installed directory path.[code]....
View 1 RepliesI'm currently using the following to code to grab the installed programs and list them in a ListView:
vb.net
Dim SoftwareKey As String = "SOFTWAREMicrosoftWindowsCurrentVersionInstallerUserDataS-1-5-18Products"
Using rk As RegistryKey = Registry.LocalMachine.OpenSubKey(SoftwareKey)
For Each skName In rk.GetSubKeyNames
[Code] .....
What I don't understand is when I run the code, I get a NullReferenceException was Handled on this line:
vb.net
If name.ToString <> "" Then
I haven't been able to find much on the error. It seems like it is a pretty generic one and can fit into a lot of different scenarios.
With the following code I can list the display name of all software installed on a local machine.
'Declare the string to hold the list:
Dim Software As String = Nothing
'The registry key:
Dim SoftwareKey As String = "SOFTWAREMicrosoftWindowsCurrentVersionUninstall"
Using rk As RegistryKey = Registry.LocalMachine.OpenSubKey(SoftwareKey)
'Let's go through the registry keys and get the info we need:
For Each skName As String In rk.GetSubKeyNames()
Using sk As RegistryKey = rk.OpenSubKey(skName)
[Code] .....
What I need is to get the FileName
to be used to start the application like notepad.exe and not just the displayname
Dim p As New System.Diagnostics.Process
p.StartInfo.FileName = filename & ".exe"
is it possible to have the open programs on my computer viewed in a list, and have the abbily to minimize and restore if so, what are the codes for it and what do i have to attach it ro (butten etc) it is for my OS i am making.
View 1 RepliesI have build an application in Visual Studio en publisched it so dat people can install the program. Now I would like to access the installation on the client computer from an other application so that the user can start the application from a menu item within an other application. But in what folder is the application installed of how can I refer to the exe?
View 4 RepliesHow do I activate/use the runtime debugger in a program that has been installed on a remote computer.Is there some way to include the debugger during the build sequence?
View 1 RepliesI'm trying to find a way to get all of the programs that are installed by accessing the information from the registry. I googled it and was able to find the following code
Private Function Getinstalledsoftware() As String
'Declare the string to hold the list:
Dim Software As String = Nothing
[code].....
I need to get the current install version for several apps installed on my machine (The same thing displayed in the Add/Remove Programs list)....how do I get this version info programatically?
View 4 RepliesI want to view all installed programs in a listview. and 2 buttons ''refresh'' & ''delete''
View 2 Repliesi want to make a simple program where i can add/edit or delete a shortcut from an installed programs in my computer.
let say c:program filesmicrosoft officeoffice11winword.exe.
the purpose of this is i want some of my selected programs to be in a single window where i can click to open so i don't need to go to start then programs and open that specific program.
i want to run that program in startup so everytime i start my computer the shell or the program is already running and i could click the program that i want on that window.
Is it possible to use/run a program (either the .exe from the Debug folder, or the ClickOnce Application from building) made in Visual Basic 2010 on a computer without .NET Framework 4.0, or any .NET Framework at all?
View 5 RepliesThey are all working on my computer,but they are not working on any other computer(I tested it on about 10 computers). They are working when i start making it,but after they are not working. When i try to run it on other computer it is not opening(there is not any error message), or there is a crash report(application crashes). So they are working on beginning of programming, and after they aren't.
View 1 RepliesI have a project in vb.net2008. I use tools of vb6 and excel in it. Now I want to publish my project and use it in other computer that not installed vb6, vb.net2008 and excel programs. What must I do?
View 1 RepliesI have a windows form application that when it starts needs to see if the user has Excel installed on the computer and if not display a message informing user that part of functionality will be disabled.
Is their an easy way to perform this check?
Working in Visual Studio 2008 with VB.Net
I'm using vb10 express.When I give copies of my exe file to friends to test will they have to install anything on there computers to get it to work? Do I need to include other files with the exe?
View 3 RepliesI am creating a project with VB2008 Express Edition. The end result will be a CD containing tech manuals in pdf format which will be accessed via various buttons on a form. I am going to include Acrobat Reader Redisributable on the CD which the user can install by pressing a button on the form if required. What I want to do is this:- When the user inserts the CD into the PC, the form will load.When the form loads, I want to search the users PC to determine if Acrobat Reader is installed.If the Acrobat Reader program is not found on the system, then display a MessageBox to inform the user to install the reader from the CD.Would this involve searching the users registry? I would need to insert in my Form1_Load sectionTarget systems would be Windows XP/ Vista with programs on the C: drive as default.
View 4 Repliesi have a audio program that will play some mp3 files from a folder. but the audio files together take up about 1 gb. it is possible to let my program download the files from the internet after it is installed on a computer. to a specific folder..?
View 3 RepliesI have a WinForm program developed in VB.Net with Visual Studio 2005. The program needs Microsoft Office Runtime installed atleast on the computer to allow the application to run without any errors.
Is their a way to check the computer to see if the minimum of the Runtime or Microsoft Office is installed on the computer? If either isn't I would like to display a message to the user on the startup of the application that states to atleast go to Microsot's site (I have full link to Runtime Download) and download the runtime for free.
Or is their a way to include the runtime as a component with my install for the application so if it isn't installed on the computer already it will install when the application is installed?
Is there a way to get a list of programs from the registry?
[Code]...
I want to move my programs and the database to another computer and hard-disks. It looks to me as though I nearly have to re-create the controls and rewrite some of the code to make it so the programs still work after the move. At least with ODBC all I would change was the DSN definitions external to the programs. Is there an easy way to move or rename a database without loads of work?
View 3 RepliesIi it possible to have a list-box that adds shortcuts of programs and runs them
View 3 RepliesIs there an easy way to get a list of the installed web browsers on the system (including the path to their respective .exe)? I have a web application which uses the Web Browser Control, but I would like to give the user the ability to view their web page in any of their other installed browsers.
View 6 Replieshow can i view my installed program list and uninstall program from the list using vb.net 2008.
View 1 RepliesI have designed and published my small created app with WINDOWS FORMS using VB 2010 EXP on Windows 7. I can only install the app on the machine that I used to develop the app.I want to install the app on another computer but I cannot. I usually have error reports.
Example:Unable to install or run this application. This application requires Microsoft Common Language Runtime 4.0.3 to be installed on your computer.
what can I do to be able to install the app on a different computer which does not have .Net and does not have visual basic 2010 installed.
I am trying to add icons to a listview that would contain a list of programs added by the user. I am pulling my hair out over this. I had the solution a few days ago and then I decided to go in another direction and then cleared my browser history. I have searched for that code for awhile now to no avail. First person gets a cookie.
Warning: cookies may contain nuclear waste.
Can anyone tell me how to list ODBC and OLEDB drivers that are installed in the windows system?
I want to display them in a DGV and create a connection string from the users choice.
XP,Vista and Widows 7