CREATING TIMER (QUESTION) [message #200507] |
Tue, 31 October 2006 03:19 |
ORACLE_JOR
Messages: 9 Registered: October 2006 Location: JORDAN \ DEAD SEA
|
Junior Member |
|
|
HI GUYS .
HOW ARE ALL..?
MY QUESTION AROUND THE :: TIMER ::
I WANT THE TIMER START AFTER THE END-USERS STOPPING USE THE PROGRAMMES(FORMS) WHEN THEY STOPPED USED THE FORMS THE TIMER SHOULD FIRE ...
WHAT I NEED EXACTLY HOW CAN I CHECK THAT THE USERS DOESN'T USE OR MOVE THE KEYBOARD OR MOUSE ,,,WHO I CAN CHECK THAT ..????
AND THANKS ALOT ..
BEST WISHES..
HABBEH
|
|
|
Re: CREATING TIMER (QUESTION) [message #200525 is a reply to message #200507] |
Tue, 31 October 2006 04:40 |
kbhujendra@rediffmail.com
Messages: 26 Registered: June 2006 Location: Hyderabad,India
|
Junior Member |
|
|
Hi,
We can simply check by using Java bean.
Steps:
-->In one Block Create a java bean by cliking "bean area' in
forms Layout Editor.
-->Create When-Custom-Item-Event trigger of Bean item
DECLARE
eventName varchar2(30) := :system.custom_item_event;
BEGIN
If(eventName='MAX_INACTIVITY_EXCEEDED') THEN
Message('Maximum user inactivity exceeded!');
Bell;
End If;
END;
-->In another block Create Start Timer Button. In
When-Button-pressed trigger Use Start_timer like below
set_custom_property('<blk_name>.<bean_item>',
1,'START_TIMER','');
Here 1 means that 1 minute idle time.
--> If you want to stop timer
set_custom_property('<blk_name>.<bean_item>',
1,'END_TIMER','');
If you want more will be helpful.You can download timeout.zip file
http://www.oracle.com/technology/sample_code/products/forms/index9i.html
Thanks,
Bhujendra
|
|
|
Re: CREATING TIMER (QUESTION) [message #200539 is a reply to message #200525] |
Tue, 31 October 2006 05:26 |
ORACLE_JOR
Messages: 9 Registered: October 2006 Location: JORDAN \ DEAD SEA
|
Junior Member |
|
|
THNKS
BUT THE DEMO FILE RELATED TO THE FORMS9i
AND WE NEED IT IN FORMS6i...
I GUESS IT DOS NOT WORK PROPERLY , AND WHEN I TRY TO OPEN THE FILE WITH THE 6I IT DOS NOT OPEN WELL FURTHUR MORE IT DISCARD SOME OF THE ADDITIONS WITH THE FILE SPECIAALY THE JAVA BEANS
IS THERE ANY SUGGESTIONS .
HABBEH
|
|
|
|
Re: CREATING TIMER (QUESTION) [message #200784 is a reply to message #200558] |
Wed, 01 November 2006 05:41 |
ORACLE_JOR
Messages: 9 Registered: October 2006 Location: JORDAN \ DEAD SEA
|
Junior Member |
|
|
i deeply appreciated your help
but this solution work on one form .. i have more than
5 systems every system have around 120 forms
how can this solution solve this problem ??
|
|
|
|
Re: CREATING TIMER (QUESTION) [message #200964 is a reply to message #200507] |
Thu, 02 November 2006 01:31 |
ORACLE_JOR
Messages: 9 Registered: October 2006 Location: JORDAN \ DEAD SEA
|
Junior Member |
|
|
thnks sir
i try to do exactly what you ask in the code above in the
forms 6i but nothing happend no msg appear ....
I make tow block one of them have the JavaBeans
with the trigger
and other block with the button , have a trigger when button pressed
>.!.<
-
could you help me .
habbeh
|
|
|
|
Re: CREATING TIMER (QUESTION) [message #201399 is a reply to message #201152] |
Sat, 04 November 2006 00:04 |
ORACLE_JOR
Messages: 9 Registered: October 2006 Location: JORDAN \ DEAD SEA
|
Junior Member |
|
|
WE RUNNING CLIENT/SERVER
WE NEED ..
15 minutes since they have done anything in the application ??
BUT IF THERE IS ANY SOLVE FOR ALL THE PC IT'S OK ALSO
CAUSE WE ARE USING (98 & XP ) WITH A GROUP POLICY AND WE FORBIDDEN TO USE ANY WINDOWS APPLICATIONS ..
SO BOTH OF THEM IF AVAILABLE ARE WELCOMED ...
THANKS FOR FOLLOW UP
|
|
|
|
Re: CREATING TIMER (QUESTION) [message #201667 is a reply to message #201554] |
Mon, 06 November 2006 05:13 |
ORACLE_JOR
Messages: 9 Registered: October 2006 Location: JORDAN \ DEAD SEA
|
Junior Member |
|
|
djmartin wrote on Mon, 06 November 2006 02:50 | I see that your Caps Lock is stuck on again.
Have you considered writing your own screen-saver code and letting Windows do the timing for you?
David
|
Unfortunetly till now i didn't make like this program
if you help i will be glad...
and how to go inside the taskmgr and kill any process
like 'ifrun60.exe'
thnks alot Mr djmartin
best wishes
Habbeh
|
|
|
|
Re: CREATING TIMER (QUESTION) [message #201904 is a reply to message #201807] |
Tue, 07 November 2006 05:20 |
ORACLE_JOR
Messages: 9 Registered: October 2006 Location: JORDAN \ DEAD SEA
|
Junior Member |
|
|
thanks alot Mr djmartin for UR patient
now the road is start to be simple ..
I got the way to kill process and kill it from task manager ..
and I think this is a good way
killtask /IM tasgmgr.exe
but the Big And Last Task Is How To make the Screen Saver
Start This Program Instead Of Starting Screen Saver ..????
I wish you will try to come up with me to solve the last Step
..
wishes the best Time...
Amer Habbeh
|
|
|
|
|
|
Re: CREATING TIMER (QUESTION) [message #202695 is a reply to message #202302] |
Sat, 11 November 2006 01:04 |
ORACLE_JOR
Messages: 9 Registered: October 2006 Location: JORDAN \ DEAD SEA
|
Junior Member |
|
|
Dear Mr David
Your suggestion was in my mind but it worked with one form not all the forms ..don't worry .
I think you made the best you can do , and i deeply appreciate
your help.. and it's very nice time i spend in this forum..
---
before 2 years I was in Dubai - UAE .. and i enrolled in USQ University which is An Australian University based In TOWOOMBA and had a branch in Knowledg village..
I finished the First Semester and I left cause my Father has a health problem ...
Also I have a friend in Australia he's lawyer.
I will still searching for and asking until I reached the solve see U Again with new case ..
Habbeh
|
|
|