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'

MythicalMeRank #6,347 · 269 pointsPosted May 18, 2005, 8:39 AM EDT
ComputerJy35 pointsPosted May 20, 2005, 2:22 PM EDT