
I am new and interested in learning VB
Quote:
>I am new to V.B and want to know how timers work And how i get a form to
>load for 5 seconds and them dissapear and have another form load up.
Use the TIMER control:
1. Drag the TIMER control onto your form. The default name is TIMER1.
2. Set the TIMER1.Interval property to the number of milliseconds you want
to wait until kicking off the TIMER event.
For example, for 5 minutes you would:
Timer1.Interval = 5 * (60 * 1000) '--- 5 minutes of milliseconds
The INTERVAL property can handle up to 2 billion as a number.
3. Put your FORM load and unload code into the TIMER1_TIMER event. Then
as each interval is met, your code will kick off.
HTH,
Greg