<?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 2010, ]]></copyright> 
    <webMaster><![CDATA[sunrise_chen@msn.com (Sunrise_Chen)]]></webMaster> 
    <generator>LBS v2.0.304</generator> 
    <pubDate>Wed, 08 Sep 2010 23:11:33 +0800</pubDate> 
    <ttl>60</ttl>
  
    <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>
      
    <item>
      <title><![CDATA[How to load HTML into mshtml.HTMLDocumentClass with UCOMIPersistFile and my ignorance]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=19]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[sunrise_chen <null@null.com>]]></author> 
      <pubDate>Thu, 11 Feb 2010 12:26:26 +0800</pubDate> 
      <description><![CDATA[<DIV></DIV>
<P>What a weird one.&nbsp; I'm looking at the source for <A href="http://ndoc.sourceforge.net/"><U><FONT color=#9f2201>NDoc.Document.HtmlHelp2.Compiler.HtmlHelpFile</FONT></U></A>.&nbsp; It&nbsp;uses the Microsoft.mshtml interop Assembly to load an HTML file into the HTMLDocumentClass for easy parsing. </P>
<P>It's code looks like this <STRONG>(DOESN'T WORK)</STRONG>:</P><FONT color=#0000ff size=4>
<P><FONT size=2 face="Courier New">private</FONT></FONT><FONT size=3 face="Courier New"> HTMLDocumentClass GetHtmlDocument( FileInfo f )<br/></FONT>]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=19]]></wfw:commentRss>
    </item>
      
    <item>
      <title><![CDATA[JPivot易用性修改]]></title> 
      <link><![CDATA[http://www.ccopus.com/blog/article.asp?id=21]]></link> 
      <category><![CDATA[经验&技巧]]></category> 
      <author><![CDATA[狰狞的微笑 <null@null.com>]]></author> 
      <pubDate>Thu, 11 Feb 2010 12:26:07 +0800</pubDate> 
      <description><![CDATA[mondrianQuery TAG 修改<br /><br />scriplet 输出MDX查询支持<br />修改 TLD文件中 mondrianQuery TAG 的 body-content 为JSP<br />修改 MondrianOlapModelTag 的父类 com.tonbeller.jpivot.tags.OlapModelTag<br />为其加入 doStartTag 方法,返回EVAL_BODY_BUFFERED，<br />使之在 getBodyContent 之前先对 scriplet 进行处理。<br />ex：public int doStartTag(){return EVAL_BODY_BUFFERED;}]]></description>
      <wfw:commentRss><![CDATA[http://www.ccopus.com/blog/feed.asp?q=comment&id=21]]></wfw:commentRss>
    </item>
      
  </channel>
</rss>
