Help needed in finding appropriate event in code

Hi,
I am designing an online examination system where the students can login into the system anytime between a 'start time' and an 'end time'. The problem that I have is once the 'end time' has lapsed, I need to fire an event to make a state change to indicate that the time has run out for those students who are still solving the questions.
What event should be fired for this? As the state change code does not depend upon any event that the user performs.
Thanks.

Use Flex Timer.
http://blog.flexexamples.com/2008/02/20/creating-timers-using-the-timer-class/
http://livedocs.adobe.com/flex/3/langref/flash/utils/Timer.html

Similar Messages

  • Help needed in Finding Download location for Sun One Portal 7

    Hi,
    help needed for finding download location for Sun ONE Portal 7. I tried to find in Oracle Download page ,
    http://www.oracle.com/us/sun/sun-products-map-075562.html, But unable to find.
    Please share the link for download location.
    I am totally new in Sun ONE Portal.
    Thanks,
    Edited by: 945439 on Oct 5, 2012 3:41 AM

    try edelivery.oracle.com under sun products.

  • Help needed to find CPU Usages

    Hi Folks,
    I am trying to find the CPU usages of a machine and need help regarding it.I have a JNI Code , which I am unable to compile/create a .dll file using Microsoft VC++. However . I am not sure about the JNI Code that I have( got it in the net).. If anybody can help please, I am in a tight situation.
    My question is how to find the CPU Usages (I know all the procedure) , all I need is an example ...
    Thanks in advance..

    If you need CPU usage of single process then it's easy to use GetProcessTimes().
    If you need to know overall loading then read about registry like interface for performance data. This code little bit complex to post it here especially without comments so it's better to read original paper on say MSDN.
    http://msdn2.microsoft.com/en-us/library/aa373219.aspx
    http://msdn2.microsoft.com/en-us/library/aa373105.aspx
    find more by youself...

  • I need to find the Netflix activation code for NS-BRDVD3

    I bought this as an open box today and everything works great, but the Netflix has already been activated with someone else's account.  While it was fun for a while searching through their queue and their recently watched movies (they seem to like raunchy teenage sex comedies), I'd really like to set my account up on there.  Is there anyway to find out what the code is?

    There was not a netflix option under the Networking menu.  The first thing I tried was resetting the system to factory defaults, and it triggered the "try netflix" popup, but it kept the old netflix user's account in there.  Later (after tweeting with someone on twelpforce) I decided to try it one more time.  That time it deleted the old account and gave me the activation code.  So everything is great now.  Thanks for your help.

  • [SOLVED] Help Needed to find the name of the openbox theme

    Can anyone help me to find the name of the openbox theme ?.
    Thank you.
    It's Numix
    Last edited by bhante (2015-01-07 11:13:12)

    That looks a lot like the Numix GTK theme...

  • Help needed in finding max of a given dates

    I have stored a list of dates in an arraylist.
    I need to find the maximum or the latest date from the list.

    This "feature" was not documented (at least I haven't seen one for the last few months) and has been abused by some retard(s?) for CSS injection, so Sun chose to fix it by removing it ...

  • Help Needed for Resetting VoIP SPA 2100 Codes

    Yesterday afternoon, I lost power to my home for a few minutes; until then my phone worked perfectly (for the week that I had it initially installed). I have the Earthlink TrueVoice program with a ZyXEL P 600 series DSL modem and direct Ethernet cable (NO router) to my ATA adapter (Linksys VoIP model SPA 2100). My computer is an HP Pavilion 8755C with Windows Millenium Edition. I have a standard (wire) phone connection. After the power was restored to my home, I tried to use my ATA adapter (Linksys VoIP model SPA 2100) to make a phone call, but there was a five-second delay between when I spoke and when someone on the other end of the line heard me. I contacted Earthlink through online chat and was told to do the following: Dial **** 877778 # 1 to reset the adapter. I did this and nothing positive happened (though I did hear a recorded English woman’s voice repeat the numbers I dialed); I did, however, lose the dial tone and was unable to connect to the Internet with my DSL. So, to conduct more online chat, I re-routed the Ethernet cable to bypass the ATA adapter; I was successful at restoring my Internet, but, obviously, I had NO phone service. More than 8 hours of online chats to Earthlink technical service resulted in failure each time. I swapped ends of my cables numerous times – no success. I removed the power cords to the ATA adapter and to the DSL Modem MULTPILE times for for up to 5 minutes – no success. The lights on the back of the ATA lit properly, but since the first time I tried the **** 877778 # 1 code, the Status light blinks and the light indicating “Phone 1” stays dark (yes, there is astandard phoneline connected to that port). I tried multiple codes to reset the ATA (re-coding instructions are separated by semi-colons): **** 877778 # 1 ; **** 877778 # 1 # ; **** 732668 # ; *** *73738 # 1 . I unplugged the power cord and Ethernet cable (to the modem) on the ATA adapter for about 1 or 2 minutes after trying to reset the code before reattaching everything (power cord always re-attached last). I tried each of these suggestions MULTIPLE times without success. One Earthlink tech wanted more specific information – the MAC address (which I was told is a 12 digit hexa decimal number that starts with zero). I told him what it was. He asked me to try a “ping” test; I was told to click on Start -> Run, type in cmd and hit Enter. A new window would appear and I should type in ping 192.168.0.1 and hit Enter. I never got to the “new window” because after I typed in “cmd” and hit Enter, I received the message “Windows cannot find cmd.” I was told to dial the code * * * * 110 # and to hear my IP address; I heard nothing. I noticed that the last time I tried to dial **** 877778 # 1, I was interrupted before I typed the final “1” because the recorded voice told me “invalid value.” Around 1 a.m. last night I gave up in disgust and went to sleep, disconnecting everything. I have now reconnected the DSL modem and made the direct connection to my computer (the ATA adapter is still disconnected from power and all connecting cables). I am not an idiot and I have some electronics experience (I have wired several home theater systems), but I have little computer experience (and none with VoIP) and right now I am totally frustrated. The tech support at Earthlink is virtually worthless. Please help (and please keep it in simple terms so that an ignorant individual like myself might learn – I need a nice step-by-step method (including times to wait between restarts, what cables/cords to disconnect and the order to disconnect/reconnect them (if that matters) to reset this device) Thanks from a neophyte who is not afraid to be honest and show his ignorance in this area of knowledge.

    hi,
    i have a SPA-2100 it's a Sipura, and it now asks for a password. I was putting all my settings in for voip provider and now can not get in my admin? i did try the 73738 and that did not work. I was able to put my providers sip and stun all in. is it i'm locked out from my voip provider? If so why would that be, because this is not their device, it's mine? but how do I get back in my admin or can the voip provider I put in, help?
    thanks
    Message Edited by jokers32463 on 12-22-2008 06:21 PM

  • Urgent help needed in two clarifictions of applet code

    Hi,
    I have an applet code where I have two buttons. Now, if button A is clicked it should pass a particular query string while if button B is clicked it should pass another particular query string.
    I would like to confirm
    1) Whether the query string passed is a valid statement(/approach) and
    2) Why there is an error in assigning qryString to qryString1.
    Thanks for any help/advise in advance.
    THE CODE:
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    public class ReinApplet1 extends Applet implements ActionListener
    TextField text;
    Button button1;
    Button button2;
    TextArea taResults;
    public void init()
         button1 = new Button("A");
    button1.addActionListener(this);
    add(button1);
    button2 = new Button("B");
    button2.addActionListener(this);
    add(button2);
    taResults = new TextArea(2,30);
    add(taResults);
    // text = new TextField(20);
    // add(text);
    public void actionPerformed(ActionEvent e)
    Object obj = e.getSource();
    if(obj == button1)
    String qryString = "select name from test where letter = A";
    executeQuery();
    if(obj == button2)
    String qryString = "select name from test where letter = B";
    executeQuery();
    public void executeQuery()
    String qryString1 =qryString;
    try
    URL url=new URL("http://localhost:8080/examples/servlet/ReinServlet1");
    String qry=URLEncoder.encode("qry") + "=" +
    URLEncoder.encode(qryString1);
    URLConnection uc=url.openConnection();
    uc.setDoOutput(true);
    uc.setDoInput(true);
    uc.setUseCaches(false);
    uc.setRequestProperty("Content-type",
    "application/x-www-form-urlencoded");
    DataOutputStream dos=new DataOutputStream(uc.getOutputStream());
    dos.writeBytes(qry);
    dos.flush();
    dos.close();
    InputStreamReader in=new InputStreamReader(uc.getInputStream());
    int chr=in.read();
    while(chr != -1)
    taResults.append(String.valueOf((char) chr));
    chr = in.read();
    in.close();
    // br.close();
    catch(MalformedURLException e)
    taResults.setText(e.toString());
    catch(IOException e)
    taResults.setText(e.toString());

    String qryString = "select name from test where letter = A";
    ...this is a local variable ...local to your actionperformed method. The reason the assignment String qryString1 =qryString; doesn't work is because you have no scope to your actionperformed local variables from your executeQuery method. Either make qryString a class variable bty defining it outside any method ...ot, alternatively, pass the string into the executeQuery method.
    if(obj == button1)
      String qryString = "select name from test where letter = A";
      executeQuery(qryString);
    public void executeQuery(String query)
      String qryString1 = query;
    ...As for the sql statement, if you are going to refine the query through the letter column, you will need to pull it into the query when you select...
    ...such as: select name,letter from test where letter = B

  • Help need to find $7.99 a month create pdf

    I need to buy an adobe program to create pdf file from word doc and quickbooks invoice.
    Your advisor told me to look up create pdf for $7.99 a month. cant find it.

    Hi,
    Create Pdf is now known as Pdf Pack . You can visit the below mentioned link for help:-
    https://www.acrobat.com/createpdf/en/home.html?promoid=KIIBF
    Thanks

  • Help needed in writting Customer exit - ABAP Code

    Hi Friends,
    I have a scenario in one of the query and need to write a customer exit for the same. Here is the scenario:
    I am using one input variable XXX to get input from user which feeds value to one of the charateristic  lets say "CHAR1" in query. I have one more characteristic "CHAR2" which has to get the value from the same variable XXX. This is not allowed in BI7.0 as the variable is Hierarchy Node type. It gives error that "Variable XXX is used for two different characteristics."
    So i need to create one more vaiable YYY which will get the value from XXX and then YYY will feed value to CHAR2.  I would appreciate if some one could tell me step by step how to write customer exit and give me the piece of ABAP code i need to write in my case.
    Your help will be appreciated in terms of points.
    Thanks,
    manmit

    Hi Arun,
    1. What should CHAR2 take - Hierarchy node variable or something else ?
    --> CHAR2 is a simple charateristic
    2. In your scenario - why have CHAR1 and CHAR2 ? why not have the user enter values against CHAR2 ??
    --> We dont want user to enter two input as the input values for both Chars are same.
    3. Did you try using a replacement path variable with the CHAR2 variable taking values from Variable on CHAR1 ?
    --> In BI7.0 replacement path variable only take values from Query results. So not able to do the same.
    Thanks

  • Help needed to find the schema/application data size

    Hi,
    Would i request you to help me to measure schema size/(APEX)application data size.
    I've 3 applications running on same schema and now i want to move one application to new server, new schema,
    Now i need to know how much space is required for this application to host on the new server, so i should find the application size and application data size in the current server, your hep is appreciated. thanks in advance.
    Regards

    Hi,
    Would i request you to help me to measure schema size/(APEX)application data size.
    I've 3 applications running on same schema and now i want to move one application to new server, new schema,
    Now i need to know how much space is required for this application to host on the new server, so i should find the application size and application data size in the current server, your hep is appreciated. thanks in advance.
    Regards

  • Help needed to find a good mapmytracks apps to N8...

    I had an older Nokia and used the apps mapmytracks, which is wonderful (you use your mobil as a gps, it has very good maps including topo, works also in the forrests, it counts the meter you walk and you can save the rutes afterwards. BUT it does not work with N8 and the developers will not fix it,  because the symphian3 has no future. Could anyone here  give my the name of an other apps that can do the same things. I would not find  such an apps for N8, I need it  and if I (and people who need precise tracking in a forrest) do not find such an  apps for N8 we need to stop using Nokia. Hope someone can help me.
    Mugge Pinner

    http://store.ovi.com/content/26345?clickSource=search
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • HELP- need to find files

    I hope someone can help me out there! Recently I experienced a problem that Lightroom was condensing my pictures (500x500 jpeg), when I went to go in to resize to a larger size it lost the image and became blurry and noisy.... I did not save the RAW images, I thought though that Lightroom automatically saves the images. Is there anyway to get back the files with the correct dimension even if it is JPEG or to re-edit them as RAW.. I don't have them on the memory card either and it has been about a month or so and I am just noticing this problem now, geese!
    Any help or feedback is appreciated!
    Thanks.

    If you imported the RAWs using Lightroom, then the RAWs are on one of your hard disks somewhere, unless you deleted them. I suggest you look for them. The easiest way to find them is to go into Lightroom and right-click on the photo and select "Show in Explorer". This won't work if you deleted or moved or renamed the photos. You could also search for them using your operating system tools. Please try both of these suggestions and report back.
    I think you also need to look at introductory videos/tutorials/FAQs on the proper usage of Lightroom, as it sounds like a lot of these problems are preventable.

  • Help needed to find out BADI's for Transaction "PECM_CHANGE_STATUS"

    Hi folks,
    I was told to use BADI "HRECM00_ACTIVATION" and code in the Method "CALC_SAL_ADJUSTMENT" within it. After coding and executing my Transaction "PECM_CHANGE_STATUS" it does'nt stop at the method (inspite of keeping a breakpoint).
    So, after suggestions from some of you folks i tried the below 2 methods to find out the relavant BADI's
    1) First way, putting a breakpoint at "CALL METHOD cl_exithandler=>get_class_name_by_interface" via SE24 and found only one BADI in exit_name which is "HRPAD_SUBTY_CHECK".
    2) Other way i checked the Package of suggested BADI "HRECM00_ACTIVATION" , which i found as "PAOC_ECM_ADM_BL". ANd when i go to SE80, for this package when i check the Enhancements section->Classic BADIs. i found about 15 BADI's ..Is this the right way to check for a BADI ? If not, how to know the relavant BADI's for my transaction "PECM_CHANGE_STATUS"
    Awaiting for response. Thanks!

    Hi,
      1. The BADI "HRECM00_ACTIVATION" does exist in this transaction, did you activate the implementation after writing the code?  The method is called in the FM HR_ECM_CALC_SAL_ADJUSTMENT.  You can try executing with breakpoint at the FM HR_ECM_CALC_SAL_ADJUSTMENT.
      2. You can try using the program in the code gallery to find user exit/Badi. Link: [Badi/exit finder|https://wiki.sdn.sap.com/wiki/display/Snippets/ToFindoutUserexitsandBAdI%27s%28New+format%29].
      3. In case you are working on ECC 6.0 the first point ( "CALL METHOD cl_exithandler=>get_class_name_by_interface"  ) mentioned by you might now return all the BADIS, as SAP has introduced a new method by which BADIS are invoked. You can try searching for Kernel Badi in SAP Help.
    Regards,
    Sai

  • Help needed with finding node in JTree

    Hi,
    In my application i will be entering some string data in a text box for search criteria.
    When I click on search, I will get data from database which will be shown as a JTree.
    This Jtree will have some nodes in which, node with string entered in the search text box exists.
    I need to focus on this node and I have only a string to find this node.
    How can I do this?How can I find a node in JTree using string value?
    Is there any alternate option by which I can achive my need?
    Please suggest.
    Thanks.

    @OP: please assign your dukes.
    @Andre_Uhres: if you don't get rewarded in the next couple of days, please let me know here to get at least one duke for your effort.
    Bye.

Maybe you are looking for

  • I just want to burn some data...

    All I want to do, is backup some home movies I have stored on my mac. I import them from my camera (HDD camera) with iMovie, but I want to archive the original footage. The current event is 11GB, so I can't burn it onto one DVD, and there's no easy w

  • Convert Report Database Driver in Batch

    is there a utility that will change the database driver to a report in batch?

  • Why won't my Apple applications work all of a sudden?

    For some reason over the weekend, my Apple applications like Safari, Mail, Software Update and such won't work. When I open one, my cursor turns into that rainbow circle and just stays there. The application won't go any further. However, my other ap

  • ORACLE Time Out problem - Please Help

    Hi All I am working on an application which needs to handle the sql error code -3113 ("end-of-file on communication channel"). When the application (PRO C) gets a -3113 error from the database it should run a series of steps. To simulate this feature

  • How do i delete iPhone backups on my Mac and Time Machine?

    I used to back my iPhone to a Mac which was then backed up to my time machine-..I have decided to start using iCloud to back up my iPhone 5 and have purchased a monthly data plan to compensate. I now want to delete my iPhone backups which I believe i