|
-
October 16th, 2004, 10:58 PM
#1
*HELP* Beginner: Loops and textboxes
*HELP* Beginner! Simple VB6 questions that I can't solve!
--------------------------------------------------------------------------
Hey guys,
I've been working with VB for a while now but I can't get loops to work with textbox's; is this possible?
Here's my code that won't work:
Private Sub cmdStart_Click()
a = 5
y = " test"
Do Until a = 1
Text1.Text = a & y
Loop
End Sub
----------------------
I'm trying to make it so it will count down in the textbox but it's not working.
I can get it to work with the picture box but something else interfered with that aswell.
Another question is with the text-to-speech component, is it possible to get it to speak whatever is printed into the picture box?
I know it's possible to get the text-to-speech to read whats in the textbox but I can't get the loops to work in the text box!!!
To get the speech to work with a textbox I have to type in...
"spkSpeak.speak text1.text"
Please help! thanks.
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
|