Author | Message | Time |
---|---|---|
Reaper | I need to know how to make an event where if the user inputs the right number that shows up randomly something will happen. Ex. [code] Private Sub cmdGo_Click() lblAnswer.Caption = "And the number is..." lblNumber.Caption = Rand(1, 25) If txtNumber.Text = Then MsgBox ("Mega-Winner!! $500 has been sent to your account!") frmAccount.lblWinning1.Caption = "$500" End If [/code] What do I put after the = in If txtNumber.Text = ? | December 22, 2004, 4:32 AM |
Quarantine | Wildguess: If txtNumber.Text = lblNumber.Caption Then | December 22, 2004, 4:39 AM |
Reaper | Lol wow I must be tired or thinking to hard I was trying all kinds of things. Thanks! | December 22, 2004, 5:03 AM |