Thread: Enter time before you do something in your computer.

  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    1

    Enter time before you do something in your computer.

    Hi,

    What I really want is to have a system such that whenever user will login into the system, it will open windows application , as a popup and where user has to enter his start time and end time of when user worked in the previous working day. Through this way we can enforse users to collect their working hours.

    How can I achieve this?

    Can I modify login screen so that user has to enter start and end date with login details?

    This information will go to the centralised database through the web service.

    Thanks,
    Amit

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    You can start programs when a user logs in.
    HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER
    \Software\Microsoft\CurrentVersion\Run
    Or put it in the Autostart folders on the start-menu on individual users or the common start-menu (all users).
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    'Allo, 'Allo, Allo
    Join Date
    Apr 2008
    Posts
    639
    If you're on a Windows domain, I'm sure you can achieve the same thing by pushing your file out and running it at user logon via Group Policy.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Determine the closest departure time
    By Kyeong in forum C Programming
    Replies: 9
    Last Post: 10-07-2008, 08:06 PM
  2. program not working...please look at this
    By JOlszewski in forum C Programming
    Replies: 3
    Last Post: 01-30-2006, 10:33 PM
  3. The space time continueimnms mm... (rant)
    By Jeremy G in forum A Brief History of Cprogramming.com
    Replies: 32
    Last Post: 06-27-2004, 01:21 PM
  4. inputting time in separate compilation
    By sameintheend01 in forum C++ Programming
    Replies: 6
    Last Post: 03-13-2003, 04:33 AM
  5. Light --- My Latest Game
    By TechWins in forum Game Programming
    Replies: 20
    Last Post: 08-14-2002, 05:15 AM