VS 2008 Listing All Software Installed?
Aug 10, 2010
The last thing that is bugging me and hopefully I will pronounce this project finished after this. I have code to get all the software installed on the machine. Its all working however I have noticed if I open Control Panel and Programs and Features not all the software listed there is picked up in my software.
View 9 Replies
ADVERTISEMENT
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
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
May 8, 2010
All I am trying to do is write a simple program that will let me choose a directory and get a listing of all files in that directory and its sub-directories and show it in a RichTextBox. I got as far as being able to select the directory but when I click "OK" I get "access to c:documents and settingsstevedesktopmp3 is denied".The code I am using is listed below.
Imports
System
Imports[code].....
View 10 Replies
Jun 12, 2009
how would i go over an external directory listing (like an external computer that i am connected to through winsock or likewise) with a server and client..i would like to hear some suggestions on what libraries to use also (winsock, unolib,...)I need this for a school assignment so help is more than welcome. I'm planning on letting the client download files from the server through this directory listing or something likewise..it doesn't matter really if it's a directory listing or something else, it just has to be user-friendly.
View 4 Replies
Jun 10, 2009
I am having trouble with code for list box of Leap Years between a certain start date and end date.I understand the cose for finding out if a particular year is a leap year, but what I need to to is have all leap years show in a list box, once one has entered a start date (year) and an end date(year).
View 25 Replies
May 12, 2010
it's possible to list items in a specific folder....Let's say I have items, located in a folder at "C:TestData" and let's say all the item is a .doc file such as 'test1.doc', 'test2.doc', test3.doc' and many more...How would you list those items in a VB form?!Do i use Groupbox, ListBox, or something else..
View 1 Replies
Feb 5, 2010
i have a problem with trying to make a textbox goto the next line evrytime i add something. ive been trying for a while, and came up with the script
[Code]...
View 3 Replies
May 30, 2010
I'm almost sure that I've seen this somewhere, but I can't find it anymore. Or maybe I'm imagining it, which would'nt be strange either.
When creating a sub or function and adding parameters used when calling it.
-Is it possible to list the parameters that I can enter when using it somewhere in my code?
E.g.
Public Sub MessageMain(ByVal Message As String, ByVal MessageType As String (List of possible values for MessageType)) Same for example as when you have boolean values in a sub/function. As soon as you use that somewhere in your code intellisense will present you with True/False to select.
I'd like the same for parameters in subs or functions I create and calling them from somewhere in my code. Saves me the trouble of remembering which options are available for those parameters.
View 8 Replies
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
Jul 8, 2011
I would like to know where the dataset designer is obtained for a vb.net 2008 appliocation I need to work on. Is this part of the initial install for visual studio.net 2008. If so, what part of the initial install will I find the dataset designer? Is this a plugin that needs to be downloaded? if so, what URL do I need to use to obtain the plugin?
[Code]...
View 2 Replies
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
Aug 23, 2009
i want to make a webcam capture program but i want a msgbox to display if webcam is not found.
View 1 Replies
Nov 16, 2009
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 Replies
Jul 29, 2011
I was wondering if there is a way to detect if Windows Updates are currently being installed.The reason is that I have written some software that sends my PC to hibernation if is idle for a specific amount of time, but I do not want this to happen if Windows is in the process of updating.
View 2 Replies
Dec 23, 2009
I was trying to use WebRequest request = WebRequest.Create[URL]..But get an error message! I am trying to use the WebRequest .NET framework class [URL]..How can I enable .NET? Is something wrong with my installation?
View 1 Replies
Sep 19, 2009
I am using VB Express 2005 because the machines my applications are running on are more likely to have .NET 2.0 installed. Is there a way to use VB Express 2008 but stop the client asking for .NET 3 3.5 (especially as the functions I am using are pretty basic!)?
View 2 Replies
Dec 18, 2009
I'm just starting out with VB and have downloaded and installed VB Express 2008. I'm researching and trying to wrap my head around programming in VB before I start working on any projects. I have a little bit of experience with ASP Classic so some of the syntax looks familiar, but I can't get a handle on database integration. Let's say I am creating an address book. Each installation is a stand-alone (no network connectivity). How are databases used in this situation? Are they built using VB Express and packaged into the installer or can you create them separately (using either Access or MySQL) and then package them into the installer? What is needed to read and write to these databases? Are there extra bits of software that need to be packaged into the installer to allow access to the databases?
What if this application does connect to a centralized database (let's say a MySQL or Access database on a web server). Is the connectivity handled the same way? Sorry for so many questions, but I just can find the answers I'm looking for when searching. I'm not necessarily looking for the actual code to do this, just an explanation of how it's possible (or even a link to some examples/tutorials).
View 6 Replies
Dec 5, 2009
I wrote this code to try and figure out which drive Windows is installed on - it basically starts with C and looks for the first "fixed disk" with a Windows folder.
' Start with c: and look for first fixed drive (type=3) with a windows folder
Dim getInfo As System.IO.DriveInfo
Dim m_start As Integer = 67
Dim m_drv As String = Chr(m_start) & ":windows"
[Code] .....
View 2 Replies
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
Aug 22, 2010
Is there a function that determines the letter that windows is on installed. For example:
D:
C:
G:
etc...
View 5 Replies
Apr 6, 2009
3 things , 1. how can i detect all the existing web browsers installed on the computer (IE , Mozilla ect'...) and put it in a combobox or something like that. 2. after i detect and select a browser , how do i launch that specific one? 3. how can i know which one is the default browser
should i see if the browser file exists ? ( IE7.exe, ect'....) or is there a more simple way ?
View 2 Replies
Mar 6, 2010
I Used this code for the getting installed applications
Sub ListPrograms()
Try
Dim rk As RegistryKey =
[Code]....
But, this code not returns the application filename, only return Application Name
How to get filename? e.g ("C:Program FilesMozilla Firefoxfirefox.exe")
View 1 Replies
Nov 9, 2011
is it possible to make my vbproject can installed in Mac OS or even on iPad?
View 1 Replies
Oct 12, 2009
I want to view all installed programs in a listview. and 2 buttons ''refresh'' & ''delete''
View 2 Replies
Jul 15, 2009
I'm using the setup method to deploy an app I wrote. The program installs fine, but If I want to reinstall it I get an error message saying the program is already installed and I have to uninstall it first. Is there a flag somewhere when I create the setup file to allow it be installed over itself?
View 3 Replies
Jun 15, 2010
I am trying to deploy an application that uses SMO on a workstation without SQL Server installed on it. The instance the app is connecting to is SQL Server 2008. The application is failing with:Could not load file or assembly 'Microsoft.SqlServer.Replication, Version 10.0.0.0, Culture=neutral,PublicKeyToken=89845cdc8080cc91' or one of its dependencies. An attempt was made to load a program with an incorrect format.
The assembly in question is in the same path as my application as well as system32. I am running this on a Windows 7 64 bit box. I have run SQL Native Client, CLR, and SMO MSIs from the 2008 SMO redist download page.This app worked fine when connecting to SQL Server 2005.
View 1 Replies
Oct 21, 2009
I am building a windows form application using visual basic (visual studio 2008).The idea is to query a MySQL DB and export the results to an excel document.I managed to do this using this code (I will just show the export to excel part):
Imports Excel = Microsoft.Office.Interop.Excel
Imports System.IO
Imports System.Data
[code].....
View 3 Replies
Jun 22, 2011
I'm not sure if I should post this on this thread or in the Database section but I'm using VB2010 so I posted this unto this. I have a fresh installed VB2010 and a Microsoft SQL Server 2008 R2.And I can't seem to connect my database to VS2010. I've been searching the net but I can't seem to find the solution to my problem.
I have attached my SQL Server Configuration and the error message I got in VS2010.
View 6 Replies
Aug 7, 2009
My Visual Studio 2008 seems to be corrupted. I can not use the Windows Forms designer. I get an error about: "Make sure the application for the file type (.vb) is installed." Also, under menu item Tools>Options, it says "an error occurred loading this property page" when I try to look at the options for 'Data UI Customization' under 'Windows Forms Designer'
[Code]....
View 2 Replies