VS 2008 API To Get List Of Installed Programs

Dec 2, 2009

I'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.

View 38 Replies


ADVERTISEMENT

VS 2008 - Grabbing List Of Installed Programs

Aug 31, 2009

I'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.

View 9 Replies

Getting List Of Installed Programs Into ListBox?

Jun 8, 2011

How to get list of installed programs into my listbox?

View 5 Replies

List All Programs Installed On Computer

Aug 15, 2011

instead of all listed in the registry key, "Microsoft Digital Image Library 9" doesn't even show in installed programs list. [Code]

View 2 Replies

C# - List Of Installed Programs/updates That Can Be Uninstalled?

Oct 20, 2009

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?

View 2 Replies

Get A List Of Installed Programs With Application Icons?

May 25, 2010

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 Replies

VS 2008 Listing All Installed Programs?

Apr 22, 2009

I'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].....

View 8 Replies

VS 2008 View All Installed Programs In A Listview?

Oct 12, 2009

I want to view all installed programs in a listview. and 2 buttons ''refresh'' & ''delete''

View 2 Replies

Deployment :: Where To Find Installed Programs

Nov 23, 2009

I 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 Replies

Using Runtime Debugger In Installed .net Programs?

Nov 22, 2011

How 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 Replies

VS 2008 Get A List Of Programs From Registry

Oct 29, 2009

Is there a way to get a list of programs from the registry?

[Code]...

View 1 Replies

Obtain Version Number For Installed Programs?

Aug 16, 2011

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 Replies

Make A Program To Manage Installed Programs Or Shortcuts

Jun 3, 2010

i 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.

View 2 Replies

VS 2008 List ODBC And OLEDB Drivers Installed Function?

May 24, 2011

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

View 4 Replies

VS 2008 - Choose Data Source - User To Easily Create A Connection To Any Installed Data Types They Have Installed

Jun 1, 2011

I have been trying for days now how to create a process to the user to easily create a connection to any installed data types they have installed. I have found an example right inside vb2008. I never use this because I code my own connections, but this would be real nice if I could include it or duplicate it.

View 1 Replies

Have A List-box That Adds Shortcuts Of Programs And Runs Them

Jun 22, 2010

Ii it possible to have a list-box that adds shortcuts of programs and runs them

View 3 Replies

How To Open Programs On Computer Viewed In A List

Aug 21, 2009

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 Replies

Get A List Of Installed Web Browsers On System?

Dec 15, 2009

Is 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 Replies

How To List Name Of Software Installed On Computer

Jul 9, 2010

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"

View 7 Replies

View Installed Program List?

Nov 15, 2011

how can i view my installed program list and uninstall program from the list using vb.net 2008.

View 1 Replies

Add Icons To A Listview That Would Contain A List Of Programs Added By The User?

Apr 16, 2011

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.

View 14 Replies

Build A Class Or A Part Of A Program That Can Be Add Into Other Programs To Be Used In That Programs?

May 27, 2011

I am sure this can be done, as Visual Studio is basically built this way. What I want to do is simply make a class that my other workmates can use. But rather than have it in a code form, I want to build it (partially), and then my workmate can add it into their programs (sort of, like the add reference for the .NET stuff).

View 4 Replies

Add All Files From A List To Programs Resource.folder Instead Of A Seperate Folder

Apr 14, 2009

I have made this installation program and everything work just fine, but I wish to improve it a little. Atm. all the files being installed is in a seperate folder, and the installation program simply move them to the right location.There is a builder program too.I would like it to add all files from a list to the programs resource.folder instead of a seperate folder.Atm I add the installation file to the destination folder with the following line. [code]

View 2 Replies

Coding Programs That Interacted With Other Programs?

Feb 2, 2010

I started with VB 6.0 back when i was 14, I was mostly into coding programs that interacted with other programs. Recently I installed VB.net 2005 pro i got from school, and i grabbed few source codes that teach show interaction, I feel so dumb, i dont remember anything lol. It be great if you guys can share some source codes and other stuff in this field. also other day i was in dream spark and i am able to get copy of VS.net 2010 ultimate edition, are there a lot of major changes, cause i got 2 thick book for VB.net 2005..

View 1 Replies

Distributing Programs: Getting Programs To Users Who Might Want Them?

Feb 23, 2009

When you've finished a program and you're trying to distribute it to the mass public. How is the best way to go about doing this? What sites would you post your program on and getting the word out that there is a new program on the block and it does xyz. This is directed to freeware so there wouldn't be any advertising.

Sorry for not explaining it very well the first time.

View 2 Replies

Programs From VB6 To VB 2008 Express?

Sep 21, 2011

I am trying to move my programs from VB6 to VB 2008 Express. My initial problen is with getting data from my Jet database. I've searched for samples but haven't been able to find anything to help me. I would like to be migrate the Jet database to the vb 2008 system.

View 3 Replies

VS 2008 : Communication Between .net Programs?

Jun 15, 2011

I have a Windows Form Application which has been developed in vb.net 3.5. It is a charting program and shows stock market charts to users. Now I have made another program in vb.net (same .net version) and I want this program to interact with the one I made before. The new program is like a small scripting language. So for example: if I run a script then its output should be reflected in the other program. How can the two programs communicate ? Both will be running on same systems. No remote stuff. I mean passing arrays,strings or possibly structures.

Plus I have several functions which are written in first program. Is it possible for the other program which is an .exe also to call the functions of the other one if I make sub/function public or something. The reason is we can calls functions or subs if we include a dll. But can one exe calls functions/sub of another exe (if both program are in .net).

View 10 Replies

VS 2008 Hijacking Other Programs?

Apr 1, 2011

the only way I can get reading from an instrument is through proprietary software. even though it is connected with USB. the instrument - a Cary 500, with a GPIB interface.the problem is with instrument commands, like "reset" or "change wavelength" or "instrument reading" They reside inside a primitive Basic shell provided by the instrument software. I'm looking at expencive National Instruments, is there another solution with VS/NET?

View 3 Replies

How To Start MS Sql Server 2008 Installed With Vb Express 2008

Nov 28, 2009

I recently installed vb express 2008 and with that download i also installed Sql server 2008. Earlier i have been working in MS Access so i have no experience in SQL server. My first problem is how to start sql server. I can see only following:

Start>All Programmes>MS SQL server 2008>Configuration Tools, Import and Export Data(32 bit)>SQL server configuration Manager,SQL server Error and Usage Reporting,SQL server Installation Centre. Moreover in Programme Files i have two folders:

1. MS SQL SERVER and
2. MS SQL SERVER COMPACT EDITION

how to start to create a database in SQL server with Vb express 2008.

View 2 Replies

2008 Programs Won't Open On Any Other Computer!

Mar 31, 2009

They 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 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved