|
-
Oct 1st, 2000, 02:31 PM
#1
Thread Starter
The picture isn't missing
My First Post!!!
how do i make random letters like 5-13 letters appera on a textbox?
Last edited by BuggyProgrammer; Sep 3rd, 2004 at 10:57 PM.
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Oct 1st, 2000, 03:00 PM
#2
Try the following
Code:
Private Sub Command1_Click()
Randomize
Do Until Char > 32
Char = Int(Rnd * 126) + 1
Loop
Text1 = Text1 & Chr(Char)
End Sub
-
Oct 1st, 2000, 03:06 PM
#3
Thread Starter
The picture isn't missing
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Oct 1st, 2000, 03:09 PM
#4
Thread Starter
The picture isn't missing
how do i make it so its only letters
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
Oct 1st, 2000, 03:18 PM
#5
Change it to this.
Code:
Private Sub Command1_Click()
Randomize
Do Until Char > 64
Char = Int(Rnd * 122) + 1
Loop
Text1 = Text1 & Chr(Char)
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|