Search results

  1. A

    Best Practices for connecting to two servers

    Hello, I'm fairly new to VB.NET. I have created a simple program and tested successfully on my laptop, connecting to a local version of SQL on my laptop. Now I'd like to put the program on another PC, that's connected to another SQL Server. What are the best practices for setting this up? How...
  2. A

    Merge module missing

    Hello, I've just upgraded from .NET 2003 to 2005 (and also reformatted my harddrive). I ran the conversion wizard on a solution that I am working with. I've just tried to deploy it for the 1st time, and I get the error message "Unable to find module file 'C:\Program Files\Common Files\Merge...
  3. A

    .NET 2005 data access problem

    Not sure what is going wrong here. I just upgraded to .NET 2005 and SQL Server Express 2005 from .NET 2003 and MSDE. I've been working on a huge project for ages, which I 'converted' to 2005. Now I can't figure out what's wrong. It's like I have a snapshot of the original database, and that's...
  4. A

    subreports overlapping

    Hello, I'm building a report in Crystal Reports 9, within VB.NET. I have a 'main' form, with many subforms on it. I need the subforms to be able to 'grow' if needed. How do I set them up so they don't overlap when they do grow? Right now, they grow as they should, but if the 1st subreport...
  5. A

    Crystal Reports Subreport issue

    Hello, I have created a report using Crystal Reports 9 in VB.NET. I'm having trouble with a subreport. I have created a view in SQL server, and a dataset in VB.NET based on that view. I'm a bit confused by how sub-reports work... I know that with my main report, I pass the VB form that contains...
  6. A

    Selected Item colour

    Is it possible to change the colour of 'highlight' in a listbox? Instead of the default blue, can I have the selectedItem highlighted in a different colour? Thanks! Amber
  7. A

    Parent/Child error on open

    Hello, I have a parent form, with a menu item used to enter the child form. If I open the child form, then close it, and try to reopen it from the parent, I get the error message: "An unhandled exception of type 'System.ObjectDisposedException' occurred in system.windows.forms.dll Additional...
  8. A

    MS Application Blocks question

    I'm trying to populate a dataset that contains 2 tables, using MS Applications Blocks. In my searches on the internet, it seems that populating 2 tables in a dataset is as simple as: dataAdapter1.fill(dataset1("table1") dataAdapter1.newSelectCommandHere...
  9. A

    values in datagrids

    Hello, How can I refer to a specific value in a datagrid? Can I set a variable to equal a value in a datagrid? TIA! amber
  10. A

    Crystal Reports - data problem

    Hello, I need some help with a report in vb.net. I had a report, based on a dataset, that worked great. I had to add a 'sub-report' to this same report. So in my .xsd file (my dataset) I added another (linked) table. I created my subform in Crystal reports, changed my 'database location' and it...
  11. A

    Value changes in a datagrid

    Hello, How can I trigger an event, when a value (cell) in my datagrid changes? The closes I've found is datagrid_currentCellChanged - but this eventis triggered even if the data within a cell hasn't changed. TIA, amber
  12. A

    combobox problem

    Hello, I'm using the following code to work with a combobox: combobox1.Datasource = employeeDataset.Table(0) combobox1.ValueMember = "STR_INITIALS" combobox1.DisplayMember = "BOTH_NAMES" combobox1.DataBindings.Add("SelectedValue", mainDataset.Tables("TDT_MAIN"), "STR_PEER_REVIEW") The...
Top Bottom