<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
  <channel>
    <title><![CDATA[]]></title> 
    <link>http://www.ccopus.com/blog/</link> 
    <description><![CDATA[]]></description> 
    <language>zh-cn</language> 
    <copyright><![CDATA[Copyright 2012, ]]></copyright> 
    <webMaster><![CDATA[sunrise_chen@msn.com (Sunrise_Chen)]]></webMaster> 
    <generator>LBS v2.0.304</generator> 
    <pubDate>Mon, 06 Feb 2012 13:17:04 +0800</pubDate> 
    <ttl>60</ttl>
  
    <item>
      <title><![CDATA[升级顾问返回错误-1。]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=30]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[sunrise_chen <null@null.com>]]></author> 
      <pubDate>Tue, 01 Nov 2011 23:13:23 +0800</pubDate> 
      <description><![CDATA[SQLSERVER 2000升级到2005 安装过程中返回错误：<br />“升级顾问返回错误-1。”<br /><br />解决方法：<br />从C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\BPA\bin <br />下把 BPAClient.dll 复制到 C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\BPA<br /><br />Refer: <a href="http://blogs.technet.com/b/isablog/archive/2009/03/16/sql-server-2005-express-edition-service-pack-3-fails-to-install-on-a-tmg-machine.aspx" title="http://blogs.technet.com/b/isablog/archive/2009/03/16/sql-server-2005-express-edition-service-pack-3-fails-to-install-on-a-tmg-machine.aspx" target="_blank">http://blogs.technet.com/b/isablog/archive/2009/03/16/sql-server-2005-express-edition-service-pack-3-fails-to-install-on-a-tmg-machine.aspx</a>]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=30]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[迁移数据库时遇到的问题及解决]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=29]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[sunrise_chen <null@null.com>]]></author> 
      <pubDate>Sun, 30 Oct 2011 00:18:28 +0800</pubDate> 
      <description><![CDATA[原本数据库建立了数据库复制, 迁移完成后, 修改表结构时仍然提示数据库用于复制不能修改,<br />用以下方法解决:<br />sp_removedbreplication<br /><br />执行数据维护计划时报告数据一致性错误, <br />用以下方法解决:<br />--try<br />USE MASTER<br />GO<br />sp_dboption &#39;数据库名&#39;, &#39;single user&#39;, &#39;true&#39; <br />Go<br />DBCC CHECKDB(&#39;数据库名&#39;, REPAIR_ALLOW_DATA_LOSS) <br />Go<br />USE 数据库名<br />go<br />exec sp_msforeachtable &#39;DBCC CHECKTABLE(&quot;表名&quot;,REPAIR_ALLOW_DATA_LOSS)&#39; <br />exec sp_msforeachtable &#39;DBCC DBREINDEX(&quot;表名&quot;)&#39; <br />go<br />sp_dboption &#39;数据库名&#39;, &#39;single user&#39;, &#39;false&#39; <br />Go]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=29]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Remove All VBA Code Programmatically]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=28]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[sunrise_chen <null@null.com>]]></author> 
      <pubDate>Thu, 08 Apr 2010 20:53:01 +0800</pubDate> 
      <description><![CDATA[<pre>
<P  style="MARGIN: 6 24;font:normal 15 Courier;"><font color="blue">Option Explicit</font> 
 
<font color="blue">Sub</font> DeleteAllCode() 
     
     <font color="darkgreen">'Trust Access To Visual Basics Project must be enabled.</font> 
     <font color="darkgreen">'From Excel: Tools | Macro | Security | Trusted Sources</font> 
     
    <font color="blue">Dim</font> x               <font color="blue">As</font> <font color="blue">Integer</font> 
    <font color="blue">Dim</font> Proceed         <font color="blue">As</font> VbMsgBoxResult 
    <font color="blue">Dim</font> Prompt          <font color="blue">As</font>]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=28]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Excel 2007 (Excel.Application) Workbooks.Add 出现内存不够的解决办法]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=27]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[sunrise_chen <null@null.com>]]></author> 
      <pubDate>Wed, 31 Mar 2010 12:54:20 +0800</pubDate> 
      <description><![CDATA[[问题 Issue]<br />Workbooks.Add时,会出现以下错误:<br /><br />Microsoft Office Excel 错误 &#39;800a03ec&#39; <br /><br />内存或磁盘空间不足，Microsoft Office Excel 无法再次打开或保存任何文档。 <br />? 要想获得更多的可用内存，请关闭不再使用的工作簿或程序。<br />? 要想释放磁盘空间，请删除相应磁盘上不需要的文件。<br /><br />Microsoft Office Excel cannot open or save any more documents because there is not enough available memory or disk space. <br />? To make more memory available, close workbooks or programs you no longer need. <br />]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=27]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Can not access Excel file using OpenRowset]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=26]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[sunrise_chen <null@null.com>]]></author> 
      <pubDate>Thu, 11 Feb 2010 12:34:32 +0800</pubDate> 
      <description><![CDATA[<P><STRONG>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Providers\Microsoft.Jet.OLEDB.4.0</STRONG> 
<P><STRONG>NOTE</STRONG>: With the <B>DisallowAdHocAccess</B> property set to 1, SQL Server does not allow ad hoc access through the OPENROWSET and the OPENDATASOURCE functions against the specified OLE DB provider. If you try to call these functions in ad hoc queries, you will receive an error message similar to: 
<P><FONT color=#ff0000>Ad ]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=26]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[用VS2005开发COM 组件]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=25]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[sunrise_chen <null@null.com>]]></author> 
      <pubDate>Thu, 11 Feb 2010 12:34:04 +0800</pubDate> 
      <description><![CDATA[<P>1,&nbsp;添加引用<br/>using System.Runtime.InteropServices; 
<P>2, 在类名前加上<br/>[ProgId("Shanger.Sunrise")] //Com调用的名字<br/>[Guid("CAF9E079-7A4F-46ac-9516-9A5CCAB41ABD")]&nbsp; //设置GUID<br/>Guid 可以在 工具-&gt; 创建 Guid里得到 
<P>3, 设置Com可见<br/>双击 "解决方案管理器&gt;项目名&gt;Properties",&nbsp;"应用程序"&gt;"程序集信息"&gt;"使程序集Com可见"<br/>.或者.<br/>AssemblyInfo.cs里修改: [assembly: ComVisible(true)]<br/>效果一样的. 
<P>4. 本机调试(可选)<br/>"解决方案管理器&gt;项目名&gt;Properties",&nbsp;"生成"标签里选"为 COM Interop 注册" 
<P>5. 部署<br/>还没做,以后再讲. 
<DIV></DIV>]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=25]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Simplified and Extended Data Binding Syntax in ASP.NET 2.0]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=24]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[sunrise_chen <null@null.com>]]></author> 
      <pubDate>Thu, 11 Feb 2010 12:33:16 +0800</pubDate> 
      <description><![CDATA[<P><SPAN><STRONG>Introduction</STRONG></SPAN> 
<P><SPAN>The server-side data binding techniques that were introduced in ASP.NET version 1.0 revolutionized the way developers build pages that access data. No longer was there a requirement for complex and lengthy code sections that build up HTML tables or lists of values. However, using ASP.NET 1.x, you still have to write code to perform the data access and expose the data to the ]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=24]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[Select data from an Excel sheet in MSSQL]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=23]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[sunrise_chen <null@null.com>]]></author> 
      <pubDate>Thu, 11 Feb 2010 12:32:20 +0800</pubDate> 
      <description><![CDATA[<DIV>select * <br/>from openrowset('Microsoft.Jet.OLEDB.4.0'<br/>&nbsp;,'Excel 8.0;HDR=YES;IMEX=1;DATABASE=d:\folder\excel.xls',Sheet1$)</DIV>
<DIV>&nbsp;</DIV>
<DIV>-------NOTE------</DIV>
<DIV>Setting IMEX=1 tells the driver to use Import mode. In this state, the registry setting ImportMixedTypes=Text will be noticed. This forces mixed data to be converted to text. For this to work reliably, you may also have to modify the registry setting, ]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=23]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[FTP via ASP without using 3rd-party components]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=22]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[sunrise_chen <null@null.com>]]></author> 
      <pubDate>Thu, 11 Feb 2010 12:31:22 +0800</pubDate> 
      <description><![CDATA[<DIV><PRE>&lt;<FONT color=#800080>%@ Language=VBScript %</FONT>&gt;
&lt;<FONT color=#800080>%</FONT>
<FONT color=#008000>' FTP via ASP without using 3rd-party components
' Ben Meghreblian 15th Jan 2002
' benmeg at benmeg dot com / http://benmeg.com/code/asp/ftp.asp.html
'
' This script assumes the file to be FTP'ed is in the same directory as this script.
' It should be obvious how to change this (*hint* change the lcd line).
' You may specify a wildcard in ftp_files_to_put (e.g. *.txt).

' </FONT>]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=22]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[网页制作之在线视频播放代码]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=20]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[sunrise_chen <null@null.com>]]></author> 
      <pubDate>Thu, 11 Feb 2010 12:27:05 +0800</pubDate> 
      <description><![CDATA[<DIV>
<UL><SPAN><STRONG><FONT color=#ff0000>站长说明：</FONT></STRONG></SPAN>很多朋友向我问起如果实现视频在线播放功能,我现在把一些不同格式的视频文件的网页代码总结如下,希望对大家用所帮助.使用方法说明:你应该把下面代码中的视频路径换成与你网站中内容相适应的相对路径或者绝对路径,播放器的窗口大小可以修改高和宽的参数. </UL>
<UL><STRONG>1.avi格式 </STRONG>
<P>&lt;object id="video" width="400" height="200" border="0" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA"&gt;<br/>&lt;param name="ShowDisplay" value="0"&gt;<br/>&lt;param name="ShowControls" value="1"&gt;<br/>&lt;param name="AutoStart" value="1"&gt;<br/>&lt;param ]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=20]]></wfw:commentRss>
    </item>
      
  </channel>
</rss>

