2
Reply

sending a string from one form to another (help!)

bryan 0

bryan 0

May 18 2005 4:32 AM
2.4k
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'

Answers (2)
Next Recommended Forum