Hi,

I would like to know how I can reload a form or repopulate a textbox after button click event.

Here is the code:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim SelectedItem As String = ComboBox1.Text '("Whats your f color")

Select Case LCase(ComboBox1.Text)
Case "blue"
MsgBox("we have blue")
Case "yellow"
MsgBox("we have yellow")
TextBox1.Text = (SelectedItem)
Me.Refresh()

End Select
End Sub

So after user selects yellow, a msg box appears display we have yellow, I all so want texbox1.text to be updated with the selectedItem, which will be yellow.

Thanks,

Mike