View Single Post
Old Jul 20th, 2007, 11:59 PM   #6
verion24
Newbie
 
Join Date: Jul 2007
Posts: 6
Rep Power: 0 verion24 is on a distinguished road
@ Duck: I have heard of the 'hello world' expression before, don't know what it means. Yes, I have Microsoft Visual Studio 6.0.

@ bigk_105: Thanks for your help.

Anyway, now having more of an idea, i gave it another shot, but I must have done something wrong. I have coded for question 1 textbox:

[HTML]

Private Sub txtquestion1_Change(Index As Integer)
If txtquestion1.Text = Beijing Then
lblscore.Caption = Format(txtquestion1.Text + 1)
End If
End Sub

[/HTML]

The answer is supposed to be beijing, but the first line is yellow, and nothing happens when i enter Beijing, and an error comes up. Also, is the third line what you call a calculation?
verion24 is offline   Reply With Quote