Search results

  1. D

    Cant connect to an SQL database with vb express

    Hi there, 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...
  2. D

    Use 2 datagridviews togeather

    Hi there 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...
  3. D

    Add a total value to a txtbox

    Hi there 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...
  4. D

    Using a textbox as a WHERE condition

    Hi there 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...
  5. D

    Problems displaying data on 3 datagrids

    Hi there, 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. Has...
  6. D

    Pass values from one form to another

    Hi there, 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...
  7. D

    Help needed using a datagrid to show customer orders

    Good afternoon. 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...
  8. D

    Using datasource wizard with vb express & SQL 2000

    Hi there 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...
  9. D

    Make Panels corners rounded

    Hi there 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?
  10. D

    Is it worth buying VS.NET 2005

    Hi there, 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...
  11. D

    Trying to INSERT values into a SQL database

    Hi there, 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...
  12. D

    Select what form opens first

    Hi there. 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...
  13. D

    Can not install vs 2003

    Hi there 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...
  14. D

    WindowsApplication3.exe Application Error

    Help!!!! 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...
  15. D

    Trying to display a crystal report in the viewer

    Hi there, 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 Private Sub...
  16. D

    A simple question..how do I load another form

    Hi there 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...
  17. D

    Error trying to connect to a sql db

    Hi there, 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. Imports System.Data Imports System.Data.SqlClient Public Class Form1 Inherits System.Windows.Forms.Form Dim...
  18. D

    Help a newbie out with Parser Error??

    Hi there... 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...
Top Bottom