bryan 0

bryan 0

  • NA
  • 9
  • 0

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

May 18 2005 4:32 AM
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)