This is at the most elementary level. I used to program some in Visual Basic (V4) but it has been several years ago. I have renewed my interest and am working with Visual Web Developer Express 2008 and Visual Basic Express 2008. I have written the most elementary program in the world to get started again and am adding two numbers and I already have my first problem that makes no sense to me. Here is the button code:
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Number1, Number2, Number3 As Single
Number1 = Val(TextBox3.Text)
Number2 = Val(TextBox4.Text)
Number3 = Number1 + Number2
TextBox5.Text = Str(Number3)
and I have a form with 3 textboxes and 1 button. I get the error in the title of this message when I hit the button and I have not the slightest idea why.
Looks like some roadblocks ahead....I just did not expect it so early.