View Installed Program List?
Nov 15, 2011how can i view my installed program list and uninstall program from the list using vb.net 2008.
View 1 Replieshow can i view my installed program list and uninstall program from the list using vb.net 2008.
View 1 RepliesWhat control should I use to create a grid like a ListView or Excel grid?
View 1 RepliesI need to require the user of this program to select two text files from any directory. I then need to display them in a List View, which I have built. File 1 needs to load into the first column and File 2 needs to load into the second. They will correspond to each other.[code]...
View 1 RepliesI get some very generik trouble need to implement List View with Image in SubItem. All can be very fine ....But I need to use Virtual Mode. Whatever I search I haven't still found working solution's. I have found some C# code that seem's do that. But I can't convert it in VB.Net. let's explain detaly.
View 2 RepliesI am creating a program that allows a user to view a list of foods in a combo box, add that food unto a list box, and adds all of the calories of that food together. When the user highlights their select food, the program automatically shows the amount of calories for that particular food in a text box. The program is getting the food and calorie information from an access database. I managed to get all of the food calories to add up properly, however, I ran into a problem. Sometimes, well, most of the time, when I select certain foods from the combo box, the program automatically reselects another random food, usually a food that begins with either an A, B, or C. Also, the other random food that the program chooses usually has the same amount of calories as the food I originally wanted to choose. I have over 6,000 items in the database. I don't understand why this is happening. This is what my code looks like for the button that adds each food to the list box:
Private Sub Button4_Click(sender As System.Object, e As System.EventArgs) Handles Button4.Click
Foods_Selected.Items.Add(ComboBox1.Text)
Static i As Single
[CODE]...
And this is what my code looks like for the button that adds all of the foods together:
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim x As Single
Dim TotalCalories As Single
[CODE]...
I have no idea what to try. It's like the program just skips over random foods, even though all of the information for them is in the database.
I want to view all installed programs in a listview. and 2 buttons ''refresh'' & ''delete''
View 2 Repliesthe VB .net experts. I added the following code and I get an error as shown below.
[CODE]....
I want to develop a tree view and list view form by using vb6, how to construct a tree view and list view form?
View 1 Replieshow to view explorer in list view control?
View 1 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 to get list of installed programs into my listbox?
View 5 RepliesWith 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"
instead of all listed in the registry key, "Microsoft Digital Image Library 9" doesn't even show in installed programs list. [Code]
View 2 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.
I am loading a series of JPG images into an image list then using that to fill a list view. My program is using ALOT of memory by doing this. What would be the easiest way to add the images but take up less memory/time?
View 3 RepliesI have added a list box and now i need help to display the data about my employees in the list box. How am i supposed to do that, do we have to put in codes or need to use that small arrow near the list box.
View 15 RepliesCan 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
I currently have a property in my program which returns a true/false depending on if the program is "portable" or not. I need this to know if I should do a certain thing or not.
It checks if it is by checking if the registrykey the installer creates exists, here:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MyProgram
(And under the Wow node if the OS is 64 bit)
The problem is, I am trying to get rid of the need for admin rights, and this is the last function that needs to be fixed. But I don't have a clue on how.
Why I want this property is because then I don't need two separate versions of my program (like a set property in My.Settings which I set before I build).
The only files that differ using the portable vs the installer is one file, but the reason why I don't want to base the result on the existence of that file is because I want to warn the user if it's not there (if the program is not in Portable mode), so he can reinstall the program.
how I can check if the program is installed by an installer, without using admin
I'm using VB.Net 2005 Pro and want to be able to check if a particular program is installed. I've seen lots of ideas about checking files in the program files folder or scanning the registry for keywords but none of these seem particularly foolproof. Is there a way to get a definitive answer to if an app is installed?
View 2 Repliesive been making my own programs but i want to know how to make the file being installed
View 10 Repliesi have been searching around trying to figure out how to copy the same idea a few programs have done in the past. However I Can't remember every program that did this but a PC MMO Hunting game Called: The Hunter does this technique.Their entire system is MySQL on a server, and displayed through a website You pick your options on the website and then click "Start" and it opens the installed program from your computer up with the given parameters Quick Example In case i managed to confused you guys.
I have a Program that's just has a text box on it From a website on a server: you can Type in Your username and then click "Start" as an example of a button, which would open up my program explained above with the users name in the text box. i figure there is some type of word for this, but i can't seem to figure it out i looked into web services to see if its what i need, but i couldn't seem to figure out if it was or not.
When using VB6 I could use (Windows Explorer, Programs), and find my installed program. I need to get to the database as I have entered a lot of data into it via my not quite finished program.
View 2 RepliesI am trying to build a program for a PC Business to check and see if an antivirus is installed, if not suggest some that are available, but im lost when it comes to trying to get my program to check and see if one is installed.
View 2 RepliesI want to make a program which first of all check whether a serie of programs is installed, if a program is installed I would like to find the installation path, so I will be able to work with it further..My first though was to check in the registry, there is theinstallation path also mentioned right?Another possible way was to search all the harddrives for a specific .exe fil. If then the file is found, the program is installed, and you should be able to find the path to the found .exe file. This is more "secure", right? - Because not all program is registred in the registry right? (E.g. if you move it from another location, and doesn't install it).
View 7 RepliesI'm wondering how I would go about creating a program that once installed was a windows toolbar. What I'm trying to do is similar to the clipboard, but I want to customize it to my own style. I work in a data entry job and many of the bills we enter have similar information that I'd like to be able to enter without repeated typing. I'd like the toolbar to be docked to the top of the screen, and have several buttons on it. Clicking a button, while having a focus in my data entry program, would paste the button's text (or the full text of what the button caption represented) into the selected field. Alternately, if focus between multiple applications is too difficult to try, then clicking the button would highlight the text and copy it to the windows clipboard, so I could then click back into my data entry program and hit ctrl-v. I dont need help on the program itself...just on how to make it as a windows toolbar, if possible.
View 1 Repliesi have a way to get all IP addresses on the local network, however I just want to get a list of computers on the local network who also have the program installed.Code I have to find local IP addresses:
Private Sub GetLocalIP()
Dim strHostName As New String("")
Dim Address As String = ""
[code]....
I am using Visual Basic 2008 express and I have created a simple database application for my y6 pupils. The program will eventually be installed on the school system but, i want to know how I can ask vb to find which folder the application was installed in and get it to return a string. Does anyone know how to do this??
View 5 Replies