View Single Post
Old Jul 21st, 2007, 2:41 AM   #9
crawforddavid2006
Expert Programmer
 
crawforddavid2006's Avatar
 
Join Date: Apr 2005
Location: Not sure yet
Posts: 582
Rep Power: 0 crawforddavid2006 is an unknown quantity at this point
Send a message via AIM to crawforddavid2006 Send a message via MSN to crawforddavid2006
well as far as scoring, it would probobly be a good idea for a label. Now to keep score, you would want to create a variable and everytime someone gets a question correct you add to the score.

Example
vb Syntax (Toggle Plain Text)
  1. Dim Score As Integer
  2.  
  3. Private Sub Command1_Click()
  4. If Text1.Text = "Test" Then
  5. Score = Score + 1
  6. Label1.Caption = Score
  7. End If
  8. End Sub
  9.  
  10. Private Sub Form_Load()
  11. Label1.Caption = Score
  12. End Sub
__________________
Quote:
Originally Posted by DaWei View Post
Well, it's better than Pen Islands url....;)

crawforddavid2006 is offline   Reply With Quote