Jump to content
Xtreme .Net Talk

Richman

Members
  • Posts

    3
  • Joined

  • Last visited

About Richman

  • Birthday 04/09/1986

Personal Information

  • Visual Studio .NET Version
    Visual Basic .NET Standard
  • .NET Preferred Language
    VB.NET

Richman's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thankyou all. Working Perfect Now. I didnt need the = _ after all :S Rich
  2. I have found a lot of the errors i had been including System.object line twice as VB had already entered it so i removed my line and it is now taken away a lot of them errors This is the code iam now using. Private Sub picSmile_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles 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 The =_ are still causing problems and not allowing me to run the application. Rich
  3. 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
×
×
  • Create New...