Don't change the time.
Disable the timer going in, Enable it going out
>Hi Gang!
>
>A timer question...........
>
>I have a method that is called from a Timer.... tmrKeepChecking
>
>tmrKeepChecking.Enabled = .T.
>tmrKeepChecking.Timer = 30000
>
>
>When I go into the method, I set tmrKeepChecking.Timer = 0
>
>and process some code.
>
>When I exit the method, I set tmrKeepchecking.Timer = 30000
>
>But the method is never called again.... the timer refused to fire.
>
>Am I doing something wrong here?? Thanks!
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer