Hiya i recently took the plunge into vb i have bought myself vb.net (standard) 2003 edition along with Visual Basic.net for Dummies.
I was going throught the book and came to a task where the author wanted me to make a programme that had diffrent smiley faces which when clicked displayed messages.
This is the code i have used
Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles picSmile.Click
System.Object, ByVal e As System.EventArgs)_
Handels(picSmile.Click)
picSmile.BorderStyle =_
System.Windows.Forms.BorderStyle.FixedSingle()
picFrown.BorderStyle =_
System.Windows.Forms.BorderStyle.None()
picHappy.BorderStyle =_
System.Windows.Forms.BorderStyle.None()
lblMessage.Text = "Hello, world!"
End Sub
When i write this into vb is displays as shown below with all blue lines under it why is this.
http://img.photobucket.com/albums/v406/Richman/vb.jpg
Thankyou
Rich