03-24-2011, 03:31 AM
I'm sure this will be helpful to beginners. However, I would like to suggest that you change:
to
As you do not need the parenthesis.
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
My.Settings.Example = (TextBox1.Text) 'Gets the Value of TB1, Sets the String.
End Sub
to
Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
My.Settings.Example = TextBox1.Text 'Gets the Value of TB1, Sets the String.
End Sub
As you do not need the parenthesis.