I am having some problems trying to add a database to a vb express project.
I am running sql 2000 but for some reason it only wants to connect to a 2005 express database.
I have tried adding a new database but I get an error message telling me "Connections to SQL server...
I am in desperate need of some help.
I have made a form that I want to use to make orders. There are 2 datagrids (grdItems & grdSearchItems ) a textbox (txtAmount) and a command button.
What I am trying to do is select a row from grdSearchItems I only want to select the 1st 3...
I need some advise with a small task I am trying to achieve.
I have a form called frmCustomers. On the form there are 2 datagrids (grdOrders & grdPayments) I also have a textbox called txtCurrentBalance. What I would like to do is to be able to display a customers current balance...
I am sure this is really easy but I have a form that contains a number of textboxes and also a datagrid.
I have a textbox on the form called txtCustomerID which displays the primary key for tblCustomers and also I have another table called tblQuotes which has CustomerID as a FK...
I have managed to find a piece of code that allows me to display 3 datagrids. It works ok when using the northwind example but when I try using my own database I can only display 2 out of the 3 datagrids.
For testing purposes I have used the same table for all 3 grids.
I am using vb express 2005.
I have built a form that contains customer details and have also built a form for orders (frmCustomers & frmOrders)
I have added a button on the customer form to ADD an new order. The frmOrder is then opened.
My question is how do I take the...
I am hoping someone can help me out with a problem that I cant fix on my own.
I have created a form that contains customer details. I have also added a datagrid that I want to be able to view all the customer orders.
I am using an sql database with the following tables...
I am trying to use the wizard to setup a datasource between an sql database using vb express.
I am not able to do so and its due to the connection string that the wizard is creating.
Is the string its creating but I am not using sqlexpress.
How can I can the wizard to work...
I am very new to vb.net and have just installed the express version.
I have created a form and I want to round the corners on a panel for a better visual look.
How do I do this? or should I be using another control?
About a year ago I was given a copy of vs.net 1.1 and didn't really do to much with it.
Over the last month I have been getting into learning vb.net.
Would it be a good idea for me to purchase the upgrade and be learning to use 2005?
I just don't want to buy 2005 and then next...
Hoping someone can help me out with a problem I am having while trying to insert information into a database.
I am pretty new to this and I have taken this code from a WROX beginning vb.net 2003 book and tried to modify it to suit.
When I try excute the code I get an error box...
Sorry for the basic question but I have a number of forms I have been working with and want to be able to select what forms opens first when I run the project how do I do it?
Currently it always opens the 1st form that was added to the project even tho I have renamed the form...
I recently got a nasty worm on my laptop so I need to uninstall a number of programs.
The easy way would have been to use the recovery disc but I left it in new zealand on my last visit. So thats not a option :(
I have been trying to reinstall visual studio 2003 for the last couple...
I have no idea what I have done but each time I try run a form from the design window I get this message box appear.
The message box contains the text
"The application failed to intialize properlu (0xc0000005).Click on OK to terminate the application."
Can anyone tell me what has...
I have been using vb.net for the last few weeks so I am very new to it.
I have managed to create a report and I have also added a ReportViewer onto a form.
I am trying to get the viewer to work but I am having no luck.
This is the code that im trying to get working
As you can tell from my question im very new to vb.net
I have been playing around and have 2 forms.
The first form is form1.vb and the 2nd is form2.vb.
I tried adding a button to the form and added this code to it but it doesn't work.
Private Sub Button1_Click(ByVal sender As...
Can someone please help me out with a problem.
I am very new to vb.net and having some problems trying to connect to a db using a datagrid.
This is my code.
Public Class Form1
I have just started trying to teach myself VB.NET & ASP.NET using the WROX beginning VB.NET 2003.
What I am trying to do is create a webform that is connected to an SQL database on my local machine.
I have used all the code from the book but when I try run the code I get a message...