Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2008/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 2008 在windows 6.5上禁用时钟编辑_Visual Studio 2008_Windows Mobile 6.5 - Fatal编程技术网

Visual studio 2008 在windows 6.5上禁用时钟编辑

Visual studio 2008 在windows 6.5上禁用时钟编辑,visual-studio-2008,windows-mobile-6.5,Visual Studio 2008,Windows Mobile 6.5,我想在windows 6.5上禁用“时钟编辑”。。我有很多人在我们公司编辑日期和时间滥用 因此,我想通过禁用日期和时间中的任何编辑来结束此案例。。 …我搜索了很多次都没有找到任何代码 我发现这个代码 System.Byte[] offValue = new byte[1]; offValue [0] = 0x30; OpenNETCF.Win32.RegistryKey registryKey = OpenNETCF.Win32.Registry

我想在windows 6.5上禁用“时钟编辑”。。我有很多人在我们公司编辑日期和时间滥用

因此,我想通过禁用日期和时间中的任何编辑来结束此案例。。 …我搜索了很多次都没有找到任何代码

我发现这个代码

System.Byte[] offValue = new byte[1];
        offValue [0] = 0x30;
        OpenNETCF.Win32.RegistryKey registryKey = 
        OpenNETCF.Win32.Registry.LocalMachine.OpenSubKey(@"\Software\Microsoft\Clock\", true);
        registryKey.SetValue("AppState", offValue);
        registryKey.Close();

但没有OpenNETCF dll或引用来运行此代码

不清楚您的要求。可能存在重复的