Well, I guess DateTime.Now to work out if it's inside the timeframe you want, and run the timer in shorter intervals if it's vital it start at exactly 8 am, then set it to run every five minutes until 2 pm is passed. Christian Graus - Microsoft MVP - C++