sending a string from one form to another (help!)
I'm trying to send 'Test' message from frmSearch to frmResults as
below, but it doesnt work, any idea?
frmSearch:
Private Sub btnSearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSearch.Click
Dim frmNewResults As New frmResults
frmNewResults.strRowFilter = "Test"
frmNewResults.ShowDialog()
End Sub
frmResults:
Public strRowFilter As String
lblDisplay.Text = strRowFilter <--- doesn't display 'Test'