iweir
New member
- Joined
- May 30, 2012
- Messages
- 1
- Programming Experience
- Beginner
hi there, i am new to coding, and have came across an error with a line of my code, i have narrowed it down to this:
If TxtAnswer.Text = Answer Then
Point = Point + 1
MessageBox.Show("Correct")
Answer = Num1 + Num2
End If
it is throwing up an error saying
"InvalidCastException was Unhandled
Conversion from string "" to type 'Double' is not valid."
i have no idea what it is meaning.any help would be greatly appreciated
If TxtAnswer.Text = Answer Then
Point = Point + 1
MessageBox.Show("Correct")
Answer = Num1 + Num2
End If
it is throwing up an error saying
"InvalidCastException was Unhandled
Conversion from string "" to type 'Double' is not valid."
i have no idea what it is meaning.any help would be greatly appreciated