Results 1 to 4 of 4

Thread: Windows System Time Clock

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2000
    Location
    Mobile, AL
    Posts
    12

    Question

    Is there a way to tell when the system time clock is activated? If I had a program that ran in the background at all times, is there a way that when the user double clicks on the time in order to change it, that instead of activating the system time it would activate a program that would first get a password, and then activate the system time for changing purposes.

    We are having a problem right now where our time clocks can be manipulated by someone changing the time on their computers when they clock in/out.

    Any help would be most appreciated.

    Jimmy C. Broadhead, Jr.
    [email protected]

  2. #2
    Lively Member
    Join Date
    Jun 2000
    Posts
    82
    Don't know about that, but you could make a work-around several ways...
    When someone clocks in, a log file is appended with the current time. If the current time is less than the last logged time, someone's cheating. You could set a tolerance level for different systems (ignore anything under 15 minutes or so)
    Either that, or have a program similar to that which keeps an eye on the time constantly, and changes it back if the system time is changed. You could use a timer control on an invisible form, and a log file setup again...
    Andrew Empson
    vb6(ent) SP4

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2000
    Location
    Mobile, AL
    Posts
    12

    Wink Yeah.

    That's what I'm going to do if I can't find out any other way of doing it the way I wanted to :-)

    Jimmy

  4. #4
    Fanatic Member zmerlinz's Avatar
    Join Date
    May 2000
    Location
    in a world where the sun always shines on the bloody tv!!
    Posts
    604
    hi,

    i know this is not a vb suggestion but if you are using windows then you can use poledit to lock out the clock so when someone goes to click on it they get a message saying that they don't have the correct privalages to do this,

    if you want this program i can email it to you, just email me first if you are interested

    Merlin ?

    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

    [Galahtech.com] | [My Site] | [Fishsponge] | [UnixForum.co.uk]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width