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?
Is there any way to make my programs use a lower version of net.framework other than the newest version 4 that comes with VS2010?I use my programs within a closed network and there isn't an easy way for me to install any software since I'm not the administrator.
I am using an about Box in my program and the version number doenst change.Its 1.0.0.0.0 , does anyone know how to sink the version number in the box with the version number being published.
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?
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?
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.
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
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]....
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.
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.
I have created windows installer application, now when I upgrade the same I get following error nother version of the product is already installed. Installation of this version cannot continue. To configure or remove the existing version ...use add remove program in control paneI changed the version number but still I get the error.. I even tried changing the product code and set removepreviousversion property to true but still no luck
i am working on an application and i want to connect it with mssql database , i dont know about the version of installed mssql server at the pc , how can i get the version of installed mssql server so that i can connect my application with that .(is it possible to check the version of installed mssql server with out connecting it with my application.)
I need to be able to detect which version of Excel I have installed in my machine from some .NET code I'm developing. I'm currently using Application.Version for that, but it doesn't give me information about Service Packs.
how to detect if MSXML parser is installed on a machine or not. I looked for a registry entry,but unable to get one. I am writing a VB.NET application.
I'm creating a WindowsForm application and I need a code to check target's machine installed version of DirectX.If the reg key doesn't match with provided one >>> load the form and launch the DX installer "redistdirectx_Jun2010_redistDXSETUP.exe"If the reg key matches with the provided one >>> launch other application "Setup.exe"
I have written a program in VB Express 2008 and published it so I can install on another PC. When trying to install on another PC I get the error message "Microsoft.VisualBasic.PowerPack.Vs Version 9.0.0.0 be installed in the Global Cache (GAC) first" I have already installed the .NET 3.5 and the PowerPack but I still get the message.
I've found a sql string like: "SELECT Count(*) FROM table"My question is: how can I use this string and get the result into a variable in VB2010? I used to program with VB6 for years, but now things are very different.
I want to get the major, minor, build and revision version numbers of an EXE, not my vb project.If I do:
FileVersionInfo.GetVersionInfo(sEXEFilePath).FileVersion I get 11.00.00003 It seems to have combined the build and revision numbers into one. In the good old days,
Whenever I build my VB.Net project, the Assembly version does not automatically update as it is supposed to with the * in the third box in the Assembly Information. The only way I have found to (sometimes - it doesn't always work) get the version number to update is to Clean the Project, remove the *, Rebuild, reClean, put the * back in, and Rebuild again. What could be causing this issue to happen?
I should note that my coworker reports no such issue on his machine when Building the same Project; also, I must admit to some confusion on my part as to how this behavior is even possible, given that the error persists even if I remove every possible intermediate file I can think of that could possibly even be carrying the old version number, so how does it even know the old version number?