03-26-2011, 11:05 AM
(This post was last modified: 03-26-2011, 11:05 AM by Resistance.)
(03-24-2011, 03:31 AM)cody8295 Wrote: I'm sure this will be helpful to beginners. However, I would like to suggest that you change:
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.
No one cared about that comment bro, lol. I couldn't careless...