V
Vann
Hi, I'm having trouble loading a list into a CheckedListBox.
I have to load the list from a ListBox that's in in another form.
Here's my code.
Dim Ingrediente = New FrmABCIngredientes
Me.CheckedListBox1.Items.Add(Ingrediente.LstBoxABCIngrediente.LstBoxABCIngrediente.SelectedItem())
It compiles and runs but when I open that particular form it shows an
error in the main form in the code.
Ingrediente.Show()
I've used also SelectedItems() but it happens the same thing.
How can I do it?
I have to load the list from a ListBox that's in in another form.
Here's my code.
Dim Ingrediente = New FrmABCIngredientes
Me.CheckedListBox1.Items.Add(Ingrediente.LstBoxABCIngrediente.LstBoxABCIngrediente.SelectedItem())
It compiles and runs but when I open that particular form it shows an
error in the main form in the code.
Ingrediente.Show()
I've used also SelectedItems() but it happens the same thing.
How can I do it?