hi, i use this code to generate passwords:
but it keeps coming up as "f113p6258". I cant work out why it does that cause everything looks random to me. :S
Can anyone help?
Thanks
For k = 0 To 8 abc$ = Rand(1, 4) Select abc$ Case 1 a% = Rand(65, 90) genPass$ = genPass$ + Chr$(a%) Case 2 b% = Rand(97, 122) genPass$ = genPass$ + Chr$(b%) Case 3 c% = Rand(0, 9) d$ = Str(c%) genPass$ = genPass$ + d$ Case 4 c% = Rand(0, 9) d$ = Str(c%) genPass$ = genPass$ + d$ End Select Next Notify genPass$
but it keeps coming up as "f113p6258". I cant work out why it does that cause everything looks random to me. :S
Can anyone help?
Thanks