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

execution stops when SS running

Status
Not open for further replies.

sggaunt

Programmer
Jul 4, 2001
8,620
GB
I have an app that runs a timer to show a scroll bar for a few seconds before an action is performed.
If the screen saver cuts in the scroll bar waits unit the screen saver is canceled. I presume the timer is stopped.
does anyone know why this is and how to ensure the timer still runs even if a screen saver is running?

Steve.
 
hi Steve

You've probably tried the obvious Application.processmessages. Just a guess, may help.

lou
 
Lou
Er Here is a bit more detail, The application is supposed to perform a sheduled action.
When it starts up if it is in sheduleing mode it runs an 'onidle' handler that sits and compares the 'actual time' to the time the user specifys, when it gets a match a timer is started that performs the action after a set period ( To give the user a chance to cancel).
If the screen saver cuts in before the set time it dosnt happen, I now think that the problem lies in the 'Onidle' and that this kicks in as soon as the screen saver is quitted. I have tried putting an application.pr (etc) in the onidle function but I still have the problem.
Steve.

PS you were quite right about the registery 'running' key of course, but when my apps crash they usually bring Windows crashing down as well.. :eek:)




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top