Link to home
Start Free TrialLog in
Avatar of Stephen Forero
Stephen ForeroFlag for United States of America

asked on

c# program pauses when machine is locked

Hi All,

I have a winform c# program thats on a 5 minute timer.  Once the timer counts down to zero, the program reads my outlook emails, then launches an excel object and does STUFF.

Here is the problem.  When I lock my machine, the timer still counts down, but hangs when it reaches zero.  It never launches the rest of the code.  When I log back in I see, the timer at zero, then the program continues as if nothing happened.  This is on my work pc with windows xp in a corporate environment.

Any ideas why my code hangs or how to prevent it?

Thanks,!!!
ASKER CERTIFIED SOLUTION
Avatar of nffvrxqgrcfqvvc
nffvrxqgrcfqvvc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Stephen Forero

ASKER

ok, thanks