|
-
Sep 5th, 2001, 06:39 AM
#1
Thread Starter
Lively Member
For Loops
I am writing a program which asks the user to input a no and based on the number displays a msg those many no of times.
The code is
Private Sub txtNumber_Change()
intNumber = CInt(txtNumber.Text)
For i = 1 To intNumber Step 1
lblMessage.Caption = "VB is Fun!!!"
Next
End Sub
Pl.help
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
|