aaahhhrrggghhhh
Programmer
Hello everyone.
I am looking to develop a database solution in VB .NET. I need to create an autohibernate function. This function will send the application to the system tray (I have already developed this bit), when the database has remained untouched for a specified period of time. I need some way of detecting when the system hasn't been touched (or clicked, or anything) for say, 5 minutes. If this happens then the system goes into hibernation (just include *hibernation code here* in the text for this section if poss.).
I am concieving that maybe a timer on the form which goes off after allotted time (eg 5 mins), then using the timer event to trigger the hibernation, but how do I tell if the user has clicked the database or done anything.
In much anticipation,
Nik
I am looking to develop a database solution in VB .NET. I need to create an autohibernate function. This function will send the application to the system tray (I have already developed this bit), when the database has remained untouched for a specified period of time. I need some way of detecting when the system hasn't been touched (or clicked, or anything) for say, 5 minutes. If this happens then the system goes into hibernation (just include *hibernation code here* in the text for this section if poss.).
I am concieving that maybe a timer on the form which goes off after allotted time (eg 5 mins), then using the timer event to trigger the hibernation, but how do I tell if the user has clicked the database or done anything.
In much anticipation,
Nik