Ok, Im having trouble passing a value from one form back to another using a listbox... The user clicks a button in the main form to bring up an instance of another form (form2.show). In that form, the user then then selects a number 1-5 and then presses done:
Private Sub frmPlayer_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim x As Integer
If lboNumber.Items.Count = 0 Then 'list box is empty
For x = 1 To 5
How do I pass that value back to the main form as a value when the user clicks done?