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
Password - Form1.frm

Form1.frm

Caricato da: Albertking82
Scarica il programma completo

  1. Dim s As String, psw As String, lenght As Integer, i As Integer, cod As String, j As Integer
  2.  
  3. Private Sub Command1_Click()
  4.  psw = ""
  5. If Text1.Text <> "" And Len(Text1.Text) > 2 Then
  6.   s = Trim(Text1.Text)
  7.   lenght = Len(Text1.Text)
  8.  For i = 1 To lenght
  9.   For j = 1 To 4
  10.   Randomize
  11.    cod = Chr(CStr(Int(Rnd * 48) + 48))
  12.    psw = psw & cod
  13.   Next j
  14.    psw = psw & "-"
  15.  Next i
  16. End If
  17.  Text1.Text = psw
  18.  Text1.SetFocus
  19. End Sub