Click here to Skip to main content
15,918,668 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I want to set a time out period for a page designed in vb.net. Like if an end user left a page for 3 to 4 minutes without doing anything then a screen saver will appear.

If any one have any idea about this then please reply me soon. It is urgent.

Jayaram Das
Posted

1 solution

Try this.
Use a Timer count for ur time(eg. 4 min) and start timer when the form load.Reset This timer when the mouse move event or form keydown event.
When timer gots the maximem(4 min.)write the code for leaving that page.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900