Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
Trova password - Form1.frm

Form1.frm

Caricato da: Albertking82
Scarica il programma completo

  1. Dim pass As String, char As String, psw As String, l As Integer, j As Integer, i As Integer
  2. Private Declare Function Beep Lib "kernel32" (ByVal dwFreq As Long, ByVal dwDuration As Long) As Long
  3.  
  4. Private Sub Cmdaccedi_Click()
  5. MsgBox "By Albertking82!!!", vbInformation, "Creatore"
  6. Cmdaccedi.Enabled = False
  7. End Sub
  8.  
  9. Private Sub Cmdok_Click()
  10. If Text2.Text <> "" Then
  11. Call Form_Load
  12. Timer1.Enabled = True
  13. End If
  14. End Sub
  15.  
  16. Private Sub cmdstop_Click()
  17. Timer1.Enabled = False
  18. End Sub
  19.  
  20. Private Sub Form_Load()
  21. psw = ""
  22. j = 1
  23. i = 300
  24. End Sub
  25.  
  26. Private Sub Form_Unload(Cancel As Integer)
  27. MsgBox "By Albertking82!!!", vbInformation, "Creatore"
  28. End Sub
  29.  
  30. Private Sub Timer1_Timer()
  31. l = Len(Text2.Text)
  32. Cmdaccedi.Enabled = False
  33. Randomize
  34. char = Chr((Rnd * 221) + 32)
  35. pass = Text2.Text
  36.  Text1.Text = psw & char
  37. If char = Mid(pass, j, 1) Then
  38. j = j + 1
  39. i = i + 200
  40. psw = psw & char
  41.  Call Beep(i, 100)
  42. End If
  43. If psw = pass Then
  44.  Cmdaccedi.Enabled = True
  45.   Timer1.Enabled = False
  46. End If
  47. End Sub