Ariez Posted March 4, 2004 Posted March 4, 2004 My application is loaded on StartUp fullscreen, and users don't have a mouse nor any access to any other windows programs and especially not the Windows Date and Time properties applet. So the system date and time changing needs to be handled from my app. How do I change the system date and time in code? Quote Auto-suggestion: "I have a life" Uncontroled thinking: "So what the.."
Administrators PlausiblyDamp Posted March 4, 2004 Administrators Posted March 4, 2004 What OS are they running on? If they are a normal user and the OS is NT4 or later then the user will not have permission to change the system time anyway - therefor if your app is running under their account then it won't either. Win2k and later come with time syncronisation built in anyway (it can be configured from the net time command). Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Ariez Posted March 4, 2004 Author Posted March 4, 2004 WinXP pro... I don't want time synchro. is there some code i can set the system date and time? Quote Auto-suggestion: "I have a life" Uncontroled thinking: "So what the.."
Administrators PlausiblyDamp Posted March 4, 2004 Administrators Posted March 4, 2004 VB or C#? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Ariez Posted March 4, 2004 Author Posted March 4, 2004 VB Quote Auto-suggestion: "I have a life" Uncontroled thinking: "So what the.."
Administrators PlausiblyDamp Posted March 4, 2004 Administrators Posted March 4, 2004 http://support.microsoft.com/default.aspx?scid=kb;en-us;154009 might be worth a look then - it's VB 6 but shouldn't be too hard to convert to .Net Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Ariez Posted March 4, 2004 Author Posted March 4, 2004 Thanks a lot... Quote Auto-suggestion: "I have a life" Uncontroled thinking: "So what the.."
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.