Click here to Skip to main content
16,009,255 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,

I'm developing a vb6 application which plays main role using date and time. I'm getting how to not allow user change the system date and time when user running the vb6 application. Can anyone suggest me a best solution?

Thank you.
Posted
Comments
Sergey Alexandrovich Kryukov 16-Jun-14 1:35am    
Why? Isn't it better to handle events when the system time is changed? (And, of course, not using VB6... :-)
—SA

1 solution

That's generally not a task of a program running in a user context. It is typically a Group Policy set be the administrator of the domain / computer. And from Vista onwards, a normal suer must not change the system time by default.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900