|
-
Jul 3rd, 2000, 10:12 PM
#1
Thread Starter
New Member
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]
-
Jul 4th, 2000, 12:28 AM
#2
Lively Member
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
-
Jul 4th, 2000, 03:47 PM
#3
Thread Starter
New Member
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
-
Jul 4th, 2000, 04:03 PM
#4
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|