I currently doing a project tat requried a pop up to warn the user to take a rest. Upon the pop up the user will not be able to continue using the computer is there any suggestion on how i can do that thank alot.
you can use a timer to achieve what you are doing. So if the application is in use for say, 5 minutes, then the application/timer will kick in and say "take a break" and wont be available until another 5 minutes or whatever.
so when the second timer is running at form B the user cannot get out or use other software in between the period of time Thank alot for helping out thank alot.
they wont be able to pretty much run the application or continue using it, and ONLY that application - not the entire PC, the entire PC would not be able to be controlled using this method. There maybe a way however it can be a security issue
Hello thank for answering the question i would like to ask you tat what you stated can i make it in such a way that it will stay at the form and hold till 5 minutes. As in the user will nt b able to do any thing in between that period of time.
just place a timer on form A, make sure you enable this when they are using the app and make it run for 5 minutes (60*5 = 5 minutes in seconds).
Once the 5 minute mark has met, perhaps show (showdialog()) another form, form B, with a message something like "Go have a rest now" and also make sure you enable this timer, so when this timer (on form B) has met the x minutes, close this form and enable the original timer on the main form, form A
i currently a student in ngee ann poly. I am making a project call vision guardiancontroller this help younger childrens to have the concept of resting when they have been using the computer very a long period of time to prevent myopia. There will be a sensor to detect if the user start siting down infront of the computer n start using it so the program that i write will display a warning msg at first to warn the user before 5 minutes to the targeted time. After 5 more minutes the sensor still detect a signal indicating that the user still using the computer the disbaling part will b active for 5-10 minutes to force the user to rest. That why i need the programing on hw to make the user force to rest for tat period of time or it can b a form is up and it stay there and the user cant cancel untill a period of like 5-10minutes. Thank alot.
Help with disable keyboard, mouse and screen
Jassim Rahma
you can use a timer to achieve what you are doing. So if the application is in use for say, 5 minutes, then the application/timer will kick in and say "take a break" and wont be available until another 5 minutes or whatever.
LeahGarrett
Zak1968
GeoffSeattle
Antropoid
Hello thank for answering the question i would like to ask you tat what you stated can i make it in such a way that it will stay at the form and hold till 5 minutes. As in the user will nt b able to do any thing in between that period of time.
IrishGandalf
steveareno
just place a timer on form A, make sure you enable this when they are using the app and make it run for 5 minutes (60*5 = 5 minutes in seconds).
Once the 5 minute mark has met, perhaps show (showdialog()) another form, form B, with a message something like "Go have a rest now" and also make sure you enable this timer, so when this timer (on form B) has met the x minutes, close this form and enable the original timer on the main form, form A
MyoZaw
Cyberjunkie
Agreed...that kind of question deserves this answer--->
Kashif Arshad