如何设置电脑时钟 [英] How to set the pc clock

查看:95
本文介绍了如何设置电脑时钟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很难相信,但我找不到任何能说明如何设置时钟的东西

用VB.NET编程


我不想要使用net time命令。


谢谢。

Hard to believe but I can''t find anything that shows how to set the clock
programmatically with VB.NET

I do not want to use the net time command.

Thanks.

推荐答案



为什么不直接调用这样的控制面板对话框:

Process.Start(" control.exe"," timedate.cpl");


Lionel。


" Joel" <乔** @ discussions.microsoft.com> écritdansle message de news:
3B ********************************** @ microsoft.com < /a> ...

Why not call directly the control panel dialog like this:

Process.Start( "control.exe", "timedate.cpl" );

Lionel.

"Joel" <Jo**@discussions.microsoft.com> a écrit dans le message de news:
3B**********************************@microsoft.com...
很难相信但是我找不到任何能够用VB.NET以编程方式设置时钟的东西

我不想使用net time命令。

谢谢。
Hard to believe but I can''t find anything that shows how to set the clock
programmatically with VB.NET

I do not want to use the net time command.

Thanks.





为什么不打电话直接控制面板对话框如下:

Process.Start(" control.exe"," timedate.cpl");


莱昂内尔。


" Joel" <乔** @ discussions.microsoft.com> écritdansle message de news:
3B ********************************** @ microsoft.com < /a> ...

Why not call directly the control panel dialog like this:

Process.Start( "control.exe", "timedate.cpl" );

Lionel.

"Joel" <Jo**@discussions.microsoft.com> a écrit dans le message de news:
3B**********************************@microsoft.com...
很难相信但是我找不到任何能够用VB.NET以编程方式设置时钟的东西

我不想使用net time命令。

谢谢。
Hard to believe but I can''t find anything that shows how to set the clock
programmatically with VB.NET

I do not want to use the net time command.

Thanks.



除了使用CPL文件之外的任何建议?有一些方法可以用某些功能在某处做到这一点!?


" Joel"写道:
Any suggestions beside the use of a CPL file ? There has to be a way of
doing this with some functions somewhere !?

"Joel" wrote:
很难相信,但我找不到任何能够用VB.NET以编程方式设置时钟的东西

我不想使用net time命令。

谢谢。
Hard to believe but I can''t find anything that shows how to set the clock
programmatically with VB.NET

I do not want to use the net time command.

Thanks.



这篇关于如何设置电脑时钟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆