by Tray Lipscomb (1 Submission)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 28th May 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Random letter password generator. I had recently made one, and happened to see the current example at vbcode.com and thought mine was better
Dim sAlpha As String, iLoop As Integer
Dim iRandNum As Integer, sMatch As String
sAlpha = "abcdefghijklmnopqrstuvwxyz"
Randomize
Label1.Caption = ""
For iLoop = 1 To 8
iRandNum = Int((26 - 1 + 1) * Rnd + 1)
sMatch = Mid(sAlpha, iRandNum, 1)
Label1.Caption = Label1.Caption & sMatch
Next iLoop
End Sub
No comments have been posted about Random letter password generator. I had recently made one, and happened to see the current example . Why not be the first to post a comment about Random letter password generator. I had recently made one, and happened to see the current example .