Hi all,
Sorry im beginer in vb.
I want making programm looping character or number.
Just say i have numbers from 100 to 10000.
just sample:
Private Sub Timer1_Timer()
if check1.value= 1 then
for i = 100 to 10000
text1.text= i
next i
end if
end sub
but this looping not like i wanted,
I want all number until the end will be display on text1.text, not just the last number 10000. We can see what the value on text1.text when looping running.
If value of i = 10000 then repeat again from the begining until check box value=0,
when click check box the looping stop, the result text1 can be = 100 or 500 or 300 or 9000 or etc..
any suggestion or code script else?...
please help..
thanks in advance
Sorry im beginer in vb.
I want making programm looping character or number.
Just say i have numbers from 100 to 10000.
just sample:
Private Sub Timer1_Timer()
if check1.value= 1 then
for i = 100 to 10000
text1.text= i
next i
end if
end sub
but this looping not like i wanted,
I want all number until the end will be display on text1.text, not just the last number 10000. We can see what the value on text1.text when looping running.
If value of i = 10000 then repeat again from the begining until check box value=0,
when click check box the looping stop, the result text1 can be = 100 or 500 or 300 or 9000 or etc..
any suggestion or code script else?...
please help..
thanks in advance
Comment