make a timer, put your interval as you ever you want. if you want that timer closes the form in 5 sec after you pushed a button write: timer1.enabled = true
write with your timer: form2.show unload me
form2.show is not needed. it's only needed if you want to show a next form.
how would i use a timer to close a form please help!!!
AlphaBlue9 3 years ago
set the interval to whatever second you want and in the timer type:
if interval = 0 then
(form(1, 2 or 3).close
octa231 2 years ago
less then 1 sec is just this
100 = 0,1 sec
10 = 0,01 sec
sneeper4life 3 years ago
how do i make it mins instead of 1000 = 1 sec?
vb6help 3 years ago
it gives a error above the 60000 so i thing one minute is the maximum. but if i don;t give a error at your pc 2 min is 120000.
thx for watching and if you have ohter qestions let me here.
Ps: chek also my other vb6 video's
sneeper4life 3 years ago
ok thanks any way! great video
howtotorrent 3 years ago 2
make a timer, put your interval as you ever you want. if you want that timer closes the form in 5 sec after you pushed a button write: timer1.enabled = true
write with your timer: form2.show unload me
form2.show is not needed. it's only needed if you want to show a next form.
greez sneeper4lifeXD
sneeper4life 3 years ago
it will not let me put 180000
howtotorrent 3 years ago
thanks !!! but on problem!
if 80000= 90 sec. whats 2 min.?
howtotorrent 3 years ago
1 min is 60000 and 2 is 6 * 2 = 18 so 2 mins are 180000
vb6help 3 years ago