View Single Post
Old Jul 26th, 2006, 7:55 PM   #12
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
Quote:
Originally Posted by randum77
Bigguy, i never thought of having a Timer.tick sender. That's a good idea. Does it bassically run that Sub for every second on the ticker? So say you want something checked every 5 seconds you can build and if loop to update ever second. Then on the fifth second it runs another Function and 0's out the increment? If so, nice. I might be able to use that in the future.
yeah that's basicly how it works. I havent tried it in .NET, but if it's anything like vb6 (which it probably is) you could just set the timer to 5 seconds, and you wouldn't even need an if statement to check the second.
Booooze is offline   Reply With Quote