You are basically going to do what is necessary for developing a screen
saver. There should be plenty of examples of doing something similar to
this. The first I found is
http://weblogs.asp.net/jdanforth/arc...21/454219.aspx.
You will code whatever you want to do at the point where it is determined
the user is idle.
It is a much more difficult thing if you are talking about the user being
idle in your application rather than the system. For example, if your user
gets carried away writing some emails, do you consider this idle within your
application?
By the way... Why would your connections remain open if you are not using
them? They should be closed when you are through with them.
"klaas" wrote:
> Hi,
> i'am writing a program in vb.net 2005 based on an access database.
> Now, i want to close my program automaticly when the user is inactive to a
> period of eg 10 minutes. I want to close all mine connections to the
> database en quit the program.
> is there a procedure to achive this or even better an example of this on
> the net?
>
> regards, Klaas
>
>
>