G
Guest
Hi all,
I am new to vb2005. I have two list boxes on a form. one on the left and
the other on the right. The left contains a list of items. Between the two
list boxes I have a button to add selected items in the left list box to the
right list box.
Programmatically, I need to item I am trying to add from the left list box
is not already in the right list box so as not to create a duplicate entry.
When I click on the add button, it calls a function in a module to verify
that the item in the left list box is not already in the right list box. But
I got the following message, and I have not a clue what I need to resolve
this:
"Reference to a non-shared member requires an object reference."
Can you share some thoughts with me on this? Thanks in advance.
Ben
--
I am new to vb2005. I have two list boxes on a form. one on the left and
the other on the right. The left contains a list of items. Between the two
list boxes I have a button to add selected items in the left list box to the
right list box.
Programmatically, I need to item I am trying to add from the left list box
is not already in the right list box so as not to create a duplicate entry.
When I click on the add button, it calls a function in a module to verify
that the item in the left list box is not already in the right list box. But
I got the following message, and I have not a clue what I need to resolve
this:
"Reference to a non-shared member requires an object reference."
Can you share some thoughts with me on this? Thanks in advance.
Ben
--