|
Programming > Visual Basic > Downloads > Timers
|
This simple program demonstrates the use of timers in Visual Basic and how a countdown can be created. The outline of the program is given below:
- A timer is put into the form and made to count every second by changing its countdown interval properties.
- The timer is then given code so that at each interval, 1 is subtracted from the value in the text box.
- The initial value of the text box is set to 15, hence there will be a 15 second countdown.
- When the program is run and the countdown finishes, a message box is displayed.
Download Now   (5KB Zip file)
Search for "Visual Basic" on:
Google |
Kelkoo |
Amazon |
eBay (UK) |
eBay (US)
Search for "Visual Basic" on the rest of Computing Students: Visual Basic
Find Visual Basic (VB) Programming Books in the Computing Students Computer Science Book Shop
|
|
|