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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

timer stops for no obvious reason

Status
Not open for further replies.

LRW

Programmer
Aug 29, 2002
4
CA
I am running a VB6 app with a timer that runs every minute. On random days, the timer stops at around 6:10 pm. It is not the code in the timer that stops. That completes fine. The timer just does not kick in again.

I have not been able to find anything on my machine or network that happens at that time that should affect anything. Has anyone had similar problems with the timer?
 
Make sure you don't have your set-up to computer do anything (Sceduled Applications)

*Also make sure that you yield for other events (DOEVENTS) at the end of the Timer routine.
 
Thanks for your response. I figured this one out a few days ago. The problem turned out to be a database connection request that wasn't working one out of every hundred or so tries. The timer was working just fine!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top