Maybe if I color code it that will help. I am asking you to tell me the ACTUAL DATA at specific points and times using YOUR button click code.
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
debug.writeline (ComboBox1.SelectedItem)
debug.writeline (ComboBox2.SelectedItem)
'NOTE A
If Me.ComboBox1.SelectedItem = "Item1" Then
The output from debug.writeline (ComboBox1.SelectedItem) is _________
The output from debug.writeline (ComboBox2.SelectedItem) is__________
NOTE A - when we get to NOTE B what does:
> combox1 contain?
__________
_________
_________
etc.
> combox2 contain?
__________
_________
_________
etc.
> listbox1 contain?
__________
_________
_________
After ALL of the code for
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
...
End Sub 'NOTE B
executes what SHOULD the comboboxes look like?
NOTE B - when we get to NOTE B what does:
> combox1 contain?
__________
_________
_________
etc.
> combox2 contain?
__________
_________
_________
etc.
> listbox1 contain?
__________
_________
_________
I don't know how to be more plain.