M
MrSwalbert
Guest
So I'm using a user control form on a form.
On the user control form, there is a list box.
I want to be able to add and delete items from the list box from the form.
I get the following error: "Reference to a non-shared member requires an object reference."
Form:
userControl_ActiveBillsSidebar.listBox_ActiveBills.Items.add("test")
Instead of this, I tried creating a public sub on the user control form and run the sub from the form.
From doing this, I get the same error.
What should I do to get this working?
Continue reading...
On the user control form, there is a list box.
I want to be able to add and delete items from the list box from the form.
I get the following error: "Reference to a non-shared member requires an object reference."
Form:
userControl_ActiveBillsSidebar.listBox_ActiveBills.Items.add("test")
Instead of this, I tried creating a public sub on the user control form and run the sub from the form.
From doing this, I get the same error.
What should I do to get this working?
Continue reading...