Windows API use | Visual Basic 6 (VB6)
There were some major errors Private Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long Private Sub Form_Paint() Dim i As Integer For i = 1 To 2600 DoEvents Beep i, 3 ' "Techno rain": Beep Rnd() * 20000, 5 ' "Lif...