469,631 Members | 1,748 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,631 developers. It's quick & easy.

Displaying values on another form

Below is a little code i wrote to display values on another form called recordForm. The code is writen on a form called regForm.pls can somebody help tell me what to do cos is not running.

Expand|Select|Wrap|Line Numbers
  1. Private Sub enterButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles enterButton.Click
  2.         Dim arecordForm As New recordForm
  3.         Dim aregForm As New regForm
  4.         arecordForm.snamerLabel.Text = snameTextBox.Text  
  5.         arecordForm.snamerLabel.Text = aregForm.snameString.ToString
  6.         arecordForm.Show()
  7.     End Sub
Oct 28 '07 #1
0 702

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.