Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
I want a code in visual basic6/studio

I have a number like 69874627, I want to paste this no. is 100 text box, in a sequential manner

For example

Input--> 69874627370

output in 100 text box

textbox1 = 6
" 2 = 9
" 3 = 8
"
"
" ....
" 9 = 7

After that text box 11 contains "7+3rd digit= 9"
so textbox11 = 9
" 12 = 8
" 13 = 7
" 14 = 4
"
" ....

After that text box 21 contains "6+4th digit= 4"
and so on

and stop to paste the value at 100th text box
Posted

So whats the problem? You know the logic (already written in your question)... loop through 100 times and apply the values to the textbox. Can create textboxes dynamically and assign them the values!
:thumbsup:
 
Share this answer
 
use a for loop to achieve this

Thanks & Regards
Radix :rose:
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900