Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timer issues...

Status
Not open for further replies.

tk7834

Programmer
Jul 9, 2002
15
US
I'm working with a timer in VB 6 and I want to know how to reset it.

So, let's say the timer is set at a 10 second interval. It gets fired, then at 5 seconds, the user does something. I want the timer to start the 10 seconds over at that point. Any ideas? Thanks!
 

tk7834, have you read FAQ222-2244 item 15 yet?


try something like...
[tt]
Some Sub()
Timer1.Enabled = False
'do whatever
Timer1.Enabled = True
[/tt]

Good Luck

 

tk7834, have you read FAQ222-2244 item 15 yet? Have you got it worked out yet?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top