Timer control

Properties

The Enabled property specifies whether the procedure should be called at the specified interval. If set to False, the procedure will not be called. This can be set a run-time and design-time.

The interval property specifies how often the procedure is called in milliseconds that takes effect when a Timer control's Enabled property is set to True. For example, a value of 10,000 milliseconds equals 10 seconds. The maximum, 65,535 milliseconds, is equivalent to just over 1 minute. This can be set a run-time and design-time.

Please note that the Timer control is not always accurate, and if your PC is very busy, the Timer event will not fire until it has some free time.

You might also like...

Comments

About the author

James Crowley

James Crowley United Kingdom

James first started this website when learning Visual Basic back in 1999 whilst studying his GCSEs. The site grew steadily over the years while being run as a hobby - to a regular monthly audien...

Interested in writing for us? Find out more.

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Before software should be reusable, it should be usable.” - Ralph Johnson