Combobox datasource assignment to dataset suddenly stopped

From: Eric (epaetz41_at_hotmail.com)
Date: 10/12/04


Date: 12 Oct 2004 06:59:34 -0700

I have an existing app that fills a combobox with a list of names from
a table, using a dataset. The code has been in production for over a
year and works fine at it's current installed hosts.

I recently updated my development box with updates from Microsoft.
Afterwards
I then had to go in to my code for the app and run it in debug mode. I
noticed that the combobox does not show any names.

Stepping through the code I see that the dataset is being filled
properly and holds the expected number of records. So I'm assuming
that the problem is occuring on the following line;
combobox.datasource = dataset.tables(0)

I'm wondering if this is related to the Microsoft updates I did to my
development machine. Or is the combobox just being stubborn?

Any suggestions?

Thanks,
Eric



Relevant Pages

  • Re: UI Question - How would you do this?
    ... : Jeff Godfrey wrote: ... Once the app gets a single, specific "part name" from the database, it will ... Using a combobox, ... The app, finding multiple matches doesn't generate an error dialog, ...
    (comp.lang.tcl)
  • Re: Mouse not effect on ScrollBar of ComboBox
    ... This is already handled for a dialog-based app, and in any case would not be the problem. ... the styles for the ComboBox are not shown. ... Style of m_pChildDlg = CHILD (i set it in Design mode) ... 'Visible' property true. ...
    (microsoft.public.vc.mfc)
  • Clear Combobox Items
    ... Below is my code for a combobox. ... box is the application selection and the other retrieves data from the ... want to make a selection in the app combobox, ... bind the datasource and fill the dataadapter. ...
    (microsoft.public.dotnet.general)
  • Re: Error Trapping Question
    ... > the combobox (cboFluid = strFluidName) that does not exists. ... > which makes old files for this app not compatible. ... and that's why you want to "filter the file". ...
    (microsoft.public.vb.general.discussion)
  • Re: Dynamically creating controls
    ... fine on my development machine but when I send it to others, ... collapse all the controls into 1 combobox in the top left of the form. ...
    (microsoft.public.vb.controls)

Loading