Hi,
If you do this on the On Timer event:
First set the Form's Timer Interval property to some value, like 10000 to check the time every 10 seconds, or longer, then on the On Timer event, do this (adding your own time, of course):
Dim dtTime As Date
dtTime = TimeValue(Time)
If dtTime >= #8:20:00 AM# Then
Application.Quit
End If
This is going to shut the app down at a specific time. It just shuts it down, so make sure you want to do this.
Did that help?
mmcdonal
Look it up at:
http://wrox.books24x7.com