<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_yzx99</title><subtitle type="text"/><id>http://feed.cnblogs.com/blog/u/7717/rss</id><updated>2009-12-09T13:40:58Z</updated><author><name>yzx99</name><uri>http://www.cnblogs.com/yzx99/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yzx99/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/7717/rss"/><entry><id>http://www.cnblogs.com/yzx99/archive/2009/12/09/1620628.html</id><title type="text">恢复数据工具比较</title><summary type="text">12月3日，公司服务器的RAID卡坏了，并且备份体系也失效了一个多月，现在硬盘中的数据库都被SQL认为异常。第一个，还可以通过紧急修复的模式来附加成功。另一个却没有这么好，还原时总是提示&amp;#8220;对于文件***.mdf 头不是有效的数据库文件头。 PageAudit 属性不正确。&amp;#8221;我找了半天，发现中文的资料比较少，发现有人介绍一个软件&amp;#8212;&amp;#8212;SQLRecover...</summary><published>2009-12-09T13:41:00Z</published><updated>2009-12-09T13:41:00Z</updated><author><name>yzx99</name><uri>http://www.cnblogs.com/yzx99/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yzx99/archive/2009/12/09/1620628.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yzx99/archive/2009/12/09/1620628.html"/></entry><entry><id>http://www.cnblogs.com/yzx99/archive/2009/06/11/1501545.html</id><title type="text">SQL公式一直设不成功</title><summary type="text">我习惯把日期字段做为文本字段保存。但今天想用字段中的公式功能，设置一个星期几的功能，结果没成功。(substring('日一二三四五六',datepart(weekday,RQ),1))后来试一下，如果RQ是datetime字段类型就可以成功。只好放弃，改用视图功能了。</summary><published>2009-06-11T09:27:00Z</published><updated>2009-06-11T09:27:00Z</updated><author><name>yzx99</name><uri>http://www.cnblogs.com/yzx99/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yzx99/archive/2009/06/11/1501545.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yzx99/archive/2009/06/11/1501545.html"/></entry><entry><id>http://www.cnblogs.com/yzx99/archive/2009/06/06/1497815.html</id><title type="text">不把text或image字段放最后的后果</title><summary type="text">以前在做水晶报表的时候，就有发现，text或image字段要放在最后，不然会莫名其妙的问题。今天在做一个ASP网页时又遇到了。原始的代码比较长，精简后的代码如下：[代码]运行结果是&amp;#8220;OK0&amp;#8221;，如果把Photo放在最后，就没这个问题。</summary><published>2009-06-06T13:32:00Z</published><updated>2009-06-06T13:32:00Z</updated><author><name>yzx99</name><uri>http://www.cnblogs.com/yzx99/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yzx99/archive/2009/06/06/1497815.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yzx99/archive/2009/06/06/1497815.html"/></entry><entry><id>http://www.cnblogs.com/yzx99/archive/2009/05/19/1459896.html</id><title type="text">要显示ASP调试信息,要把IE友好错误去掉</title><summary type="text">早上想调一个页面，但IE总是显示不出详细的错误信息。在服务器上搞了半天，发现如果代码改后第一次行，后面再打开又不行。最后在如下网页中找到我问题的答案：http://club.pchome.net/topic_5_56_29192_1__.html忘记她是她fanyer&amp;gt;我的系统是win 2003 iis 站点属性--〉主目录--〉配置--&amp;gt;调试&amp;gt;启用ASP 服务器端脚本调试&amp;gt...</summary><published>2009-05-19T01:23:00Z</published><updated>2009-05-19T01:23:00Z</updated><author><name>yzx99</name><uri>http://www.cnblogs.com/yzx99/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yzx99/archive/2009/05/19/1459896.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yzx99/archive/2009/05/19/1459896.html"/></entry><entry><id>http://www.cnblogs.com/yzx99/archive/2009/05/10/1453657.html</id><title type="text">WMI的几种写法</title><summary type="text">WMI的一种写法：Set oWMI = GetObject("winmgmts:" &amp;amp; _ "{impersonationLevel=impersonate,(Shutdown)}!" &amp;amp; _ "\\." &amp;amp; _ "\root\cimv2")Set cNAs = oWMI.ExecQuery("Select * from Win32_NetworkAdapter")For ...</summary><published>2009-05-10T07:38:00Z</published><updated>2009-05-10T07:38:00Z</updated><author><name>yzx99</name><uri>http://www.cnblogs.com/yzx99/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yzx99/archive/2009/05/10/1453657.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yzx99/archive/2009/05/10/1453657.html"/></entry><entry><id>http://www.cnblogs.com/yzx99/archive/2009/05/10/1453652.html</id><title type="text">计算机重启脚本</title><summary type="text">方案一： Set oShell = WScript.CreateObject ("WSCript.shell") oShell.run "shutdown -r -f -t 1", true存在的问题：ShutDown是XP的命令，因此该脚本在WIN2K下不能运行。即使在XP下，仅适用于超级用户，普通用户在DOS下执行后会提示：操作成功完成。客户端没有所需的特权。（如果把ShutDown拷贝到WI...</summary><published>2009-05-10T07:32:00Z</published><updated>2009-05-10T07:32:00Z</updated><author><name>yzx99</name><uri>http://www.cnblogs.com/yzx99/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yzx99/archive/2009/05/10/1453652.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yzx99/archive/2009/05/10/1453652.html"/></entry><entry><id>http://www.cnblogs.com/yzx99/archive/2009/05/10/1453630.html</id><title type="text">Windows系统实用工具集</title><summary type="text">摘自：http://www.wangchao.net.cn/bbsdetail_54749.html【监视类】CPUMon v2.0　　CPU性能监视工具。可以获取CPU计数器信息。该版本集成了Perfmon。DebugView v4.31　　截取Win32设备驱动程序发出的消息，允许通过本机或网络查看和录制调试信息而不打开一个活动的调试器。Diskmon v2.01　　显示硬盘的活动信息。Fil...</summary><published>2009-05-10T06:35:00Z</published><updated>2009-05-10T06:35:00Z</updated><author><name>yzx99</name><uri>http://www.cnblogs.com/yzx99/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yzx99/archive/2009/05/10/1453630.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yzx99/archive/2009/05/10/1453630.html"/></entry><entry><id>http://www.cnblogs.com/yzx99/archive/2009/05/09/1453411.html</id><title type="text">VB6设置进度条颜色</title><summary type="text">VB6，新建一个工程，在界面中放置一个进度条控件，输入如下代码：Option ExplicitPrivate Declare Function PostMessage Lib "user32" Alias "PostMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Lon...</summary><published>2009-05-09T13:44:00Z</published><updated>2009-05-09T13:44:00Z</updated><author><name>yzx99</name><uri>http://www.cnblogs.com/yzx99/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yzx99/archive/2009/05/09/1453411.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yzx99/archive/2009/05/09/1453411.html"/></entry><entry><id>http://www.cnblogs.com/yzx99/archive/2009/05/09/1453404.html</id><title type="text">判断ListView双击了子项，并获取其位置与大小</title><summary type="text">在VB中新建一个工程，放一个文本框与ListView，输入如下代码：Option ExplicitPrivate Type POINTAPI X As Long Y As LongEnd TypePrivate Type RECT Left As Long Top As Long Right As Long Bottom As LongEnd TypePrivate Declare Functio...</summary><published>2009-05-09T13:17:00Z</published><updated>2009-05-09T13:17:00Z</updated><author><name>yzx99</name><uri>http://www.cnblogs.com/yzx99/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yzx99/archive/2009/05/09/1453404.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yzx99/archive/2009/05/09/1453404.html"/></entry><entry><id>http://www.cnblogs.com/yzx99/archive/2009/05/09/1453269.html</id><title type="text">VB6实现ListView各行间隔颜色</title><summary type="text">建立新工程，添加一个ListView控件与一个Picture控件，然后输入如下代码：Option ExplicitPrivate Sub Form_Load()Dim i As Long '列表框的属性及准备数据 ListView1.View = lvwReport ListView1.ColumnHeaders.Add , , "This is Just a Simple Example" Li...</summary><published>2009-05-09T09:07:00Z</published><updated>2009-05-09T09:07:00Z</updated><author><name>yzx99</name><uri>http://www.cnblogs.com/yzx99/</uri></author><link rel="alternate" href="http://www.cnblogs.com/yzx99/archive/2009/05/09/1453269.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/yzx99/archive/2009/05/09/1453269.html"/></entry></feed>
