yronium Level: Moderator

 Registered: 14-04-2002 Posts: 907
|
Re: data logger which stores from textboxes every half an hour
Hello. Just my two cents: remember that with the Timer control you can't easily reach an half an hour time, as the largest allowed setting for the Interval property is 65536 milliseconds. A trick is to set a global counter variable, and increase it every minute (60000 ms): when it reaches 30, reset it to zero and do your operations.
Hope it helps.
[Edited by yronium on 31-05-2006 at 07:07 AM GMT]
____________________________
Real Programmer can count up to 1024 on his fingers
|