I have a two forms, a selection form and a display form. On the selction, the user can select a value from a listbox. Once the user selects a value, I pass the value to the dispaly form. Not a problem and the value passed is the correct one showing.
But whne I try to close the selection form, it craps out. I don't understand what is wrong with this coding:
vrecid = lstContacts.SelectedValue
frmBrowseContacts.lblContactId.Text = vrecid
frmBrowseContacts.WindowState = FormWindowState.Normal
If I take the me.close out (I wnat the selection form to close), it works. If I put the me.close in, it errors out about the lisbox being disposed...
any help appericated.