Loop (Visual basic)

jamescv7

Level 85
Thread author
Verified
Honorary Member
Forum Veteran
Mar 15, 2011
13,070
17,982
8,379
29
Philippines
Please bear with me on some couple questions regarding on Visual Basic. Asking isn't bad as along it will be learn.

5bd1tt.png


On this picture could anyone tell me how to put a code that simply......

An inputbox will ask for a desire number then when the user enter it, a counting numbers appear on the text box.

Example: An inputbox appear and the user enters a number e.g 5 then when click "OK", a result will be "1,2,3,4, and 5".

Counting Numbers preferably term there.

Thanks, to anyone can provide a details for it :)
 
Here's the elaborate details I've found on a research:

Write a program like the one to the right. The user enters a number into the textbox in the upper right-hand corner. When the "Run Loop" button is clicked, the numbers from Start to 100 are written to the textbox. In this figure, the numbers 58 to 100 are written to the textbox.

http://mrsawyer.com/vb/vb1_packet5.pdf

The slight difference is an inputbox will pop up first to ask what number will be enter. I'm using Visual Basic 6.
 
On Exercise 4 that's the image on how the program works. I couldn't figure out the code for it.

An inputbox will show first on the program on other version.
 
Its all right :)

Could anyone help me out for this since the deadline for the hands on will be on Monday.
 
I can't reply to your PM
"You cannot send messages to jamescv7 because you're not on their buddy list."

Sorry I don't use VB6, I think you should ask here, they will be know how to do http://www.daniweb.com/software-development/visual-basic-4-5-6/4
http://stackoverflow.com/
 
My problem is solved, thanks to imsoadude for providing the solution, actually I've made a lot of research to connect some code and trying to figure out but it cannot so today its been solved already. :)