This should get you startedVB Code:
Private Sub Command1_Click() Dim MyNumber As Long Randomize MyNumber = (50 * Rnd) + 1 Select Case MyNumber Case 0 To 4 'display $250.00 card Case 5 To 9 'display $500.00 card Case 10 To 15 'you code from here Case 40 To 44 'bust card Case 45 To 48 'another bust card Case 50 'winner End Select 'question: what happened to 49? End Sub




Reply With Quote