Re: Locking Windows clock
Put an Inet control in your program and query a time server periodically. You can't prevent users from doing things to the computer when your program isn't running.
Re: Locking Windows clock
Yes. I think, if windows is not allowing you to restrict it then how vb will do that. I don't think it's possible. As Al42 said, you need to query the time server.
Re: Locking Windows clock
Users are logging into this computers for specific purposes (education) the application is suppposed to monitor their progres. It will run as long as comuter is on. If users are able to cheat the time by changing the clock and getting more time the whole exercise becomebes useless.
Re: Locking Windows clock
Users are logging into this computers for specific purposes (education) the application is suppposed to monitor their progres. It will run as long as comuter is on. If users are able to cheat the time by changing the clock and getting more time the whole exercise becomebes useless.
So question is how to I read the coorect time or prevent them frm changing the clock??
Re: Locking Windows clock
Then perhaps use something like GetTickCount to monitor the time of the tasks (i presume it's some sort of test) instead to querying the system time.
Re: Locking Windows clock
Re: Locking Windows clock
any particular reason why?
Re: Locking Windows clock
i'm am almost positive you can restrict this using the local security policy :s i was almost positive it worked with home 2 i may be wrong tho
Re: Locking Windows clock
Have you tried Fortres 101 yet?