摘要:
window下命令powercfg /change "Home/Office Desk" /moniter-timeout-ac 1C#中实现[DllImportAttribute("user32.dll")]SendMessage(IntPtr hWnd, uint msg, uint wParam, int lParam)private const uint WM_SYSCOMMAND = 0x0112;private const uint SC_MONITORPOWER = 0xF170;SendMessage(this.Handle,WM_SYS 阅读全文
摘要:
Server 端的设置IIS服务器:为了使IIS支持WAP(WML)页面的发布,在IIS的Web站点的属性 / HTTP信息中设置WAP的MIME属性,添加如下的MIME类型:扩展名 内容类型(MIME).wml text/vnd.wap.wml.wbmp image/vnd.wap.wbmp.wmlc application/vnd.wap.wmlc.wmls text/vnd.wap.wmls.wmlsc application/vnd.wap.wmlsc重启 IIS 使其支持 WAP 页面的发布。Apache服务器:找到conf/httpd.conf这个配... 阅读全文