Sub zimu()
Randomize
Dim i As Integer
Do
i = Int(Rnd * 58 + 65)
Loop While i > 90 And i < 97
zimuL.Caption = Chr(i)
zimuL.Left = Rnd * (Me.ScaleWidth - zimuL.Width)
zimuL.Top = 0
End Sub
Private Sub Command1_Click()
zimuL.Visible = True
Timer1.Interval = 200
Call zimu
Text1.SetFocus
End Sub
Private Sub Form_Load()
Text1.Text = ""
zimuL.Caption = ""
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
If zimuL.Caption = Chr(KeyAscii) Then
Call zimu
End If
Text1.Text = ""
End Sub
Private Sub Timer1_Timer()
zimuL.Top = zimuL.Top + 100
If zimuL.Top >= Me.ScaleHeight Then
Call zimu
End If
End Sub