I am currently making a project and got stuck.(I am a total beginner)
The program is for users to submit their username by typing in their username and pressing the submit button. The username may be able to display on the Usernamelabel in form1.(I made the button on form2)
I have problems coding to make the text to come out in form2.My code comes out as error.
Anyone can help to solve this?
Here is the code in form2.
Public Class Form2 Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click UserNameTextBox.Text = UserNameLabel.Text End Sub End Class