c# program pauses when machine is locked
Posted on 2012-08-22
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?