How to lock System Date /time
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
if some one can tell how can i lock the system date/time from my vb.net application so that it can not be changed. Please tell me with source code.
What do you mean? Do you want to stop windows users from changing the date/time? The system time originates from the system clock which any user can change from windows/dos ect. If you have Win2k or NT4 there may be a way for you to stop them from accessing these options by restricting thier accounts although i'm not sure how. As for locking the date/time from your app. surely if you dont include code that sets the date time which is accessable to the user, then they won't be able to do so. I think you need to clarify what you are trying to do. Regards Wayne Phipps