Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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?

Auto-suggestion: "I have a life"

Uncontroled thinking: "So what the.."

  • Administrators
Posted

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).

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

WinXP pro...

I don't want time synchro.

 

is there some code i can set the system date and time?

Auto-suggestion: "I have a life"

Uncontroled thinking: "So what the.."

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...