<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>林海波 - 编程备忘录</title><link>http://www.linhaibo.com/</link><description>'s blog  - </description><generator>RainbowSoft Studio Z-Blog 1.8 Walle Build 91204</generator><language>zh-CN</language><copyright></copyright><pubDate>Wed, 06 May 2026 09:28:39 +0800</pubDate><item><title>Excel中校验身份证号码是否正确</title><author>123@linhaibo.com (linhaibo)</author><link>http://www.linhaibo.com/post/24.html</link><pubDate>Fri, 04 Dec 2015 15:27:39 +0800</pubDate><guid>http://www.linhaibo.com/post/24.html</guid><description><![CDATA[<p>&nbsp;以下代码用于校验指定列的身份证号码是否正确：<br />&nbsp;&nbsp;&nbsp; strColumn = &quot;A&quot; '遍历的列号，检查第几列的数据？<br />&nbsp;&nbsp;&nbsp; startIndex = 3 '开始位置,第几行开始？...</p>]]></description><category>编程备忘录</category><comments>http://www.linhaibo.com/post/24.html#comment</comments><wfw:comment>http://www.linhaibo.com/</wfw:comment><wfw:commentRss>http://www.linhaibo.com/feed.asp?cmt=24</wfw:commentRss><trackback:ping>http://www.linhaibo.com/cmd.asp?act=tb&amp;id=24&amp;key=8af2908f</trackback:ping></item><item><title>VB 使用HTML网页做窗体界面</title><author>123@linhaibo.com (linhaibo)</author><link>http://www.linhaibo.com/post/17.html</link><pubDate>Sun, 06 Apr 2014 00:38:10 +0800</pubDate><guid>http://www.linhaibo.com/post/17.html</guid><description><![CDATA[&nbsp;VB6.0中使用HTML页面做程序界面，主要用了Webbrowser控件来实现，HTML UI主要难题就是如何在网页上调用VB程序里面的函数。在本示例中可通过JS调用： cmd(参数1);&nbsp; 或者 cmd([参数1,参数2,参数3&hellip;&hellip;]);在VB中对应的函数为：&nbsp;&nbsp;边框&nbsp;&nbsp;小边框&nbsp;&nbsp;P]]></description><category>编程备忘录</category><comments>http://www.linhaibo.com/post/17.html#comment</comments><wfw:comment>http://www.linhaibo.com/</wfw:comment><wfw:commentRss>http://www.linhaibo.com/feed.asp?cmt=17</wfw:commentRss><trackback:ping>http://www.linhaibo.com/cmd.asp?act=tb&amp;id=17&amp;key=5b7a2846</trackback:ping></item><item><title>Excel 宏Worksheet_Change事件的简单应用</title><author>123@linhaibo.com (linhaibo)</author><link>http://www.linhaibo.com/post/14.html</link><pubDate>Thu, 14 Mar 2013 11:46:36 +0800</pubDate><guid>http://www.linhaibo.com/post/14.html</guid><description><![CDATA[Private Sub Worksheet_Change(ByVal Target As Range)&nbsp;&nbsp;&nbsp;&nbsp; 'Cells(Target.Row, 1) 获取/设置 当前行的第一列值&nbsp;&nbsp;&nbsp;&nbsp; 'Target.Offset(0, -1) 针对当前位]]></description><category>编程备忘录</category><comments>http://www.linhaibo.com/post/14.html#comment</comments><wfw:comment>http://www.linhaibo.com/</wfw:comment><wfw:commentRss>http://www.linhaibo.com/feed.asp?cmt=14</wfw:commentRss><trackback:ping>http://www.linhaibo.com/cmd.asp?act=tb&amp;id=14&amp;key=7899d9f2</trackback:ping></item><item><title>VB 实现获得标准北京时间</title><author>123@linhaibo.com (linhaibo)</author><link>http://www.linhaibo.com/post/12.html</link><pubDate>Sun, 27 Mar 2011 04:24:00 +0800</pubDate><guid>http://www.linhaibo.com/post/12.html</guid><description><![CDATA[<p>主要是通过<a href="http://www.time.ac.cn/timeflash.asp?user=flash">http://www.time.ac.cn/timeflash.asp?user=flash</a>这个网站获得时间，获取到的源码是XML格式的，按理来说用Microsoft.XMLDOM来分析比较方便，不过俺对这个组件不太熟悉，还是直接用正则好了。呵呵~<br />以下代码通过获取源码然后用正则提取出时、分、秒&hellip;&hellip;等。...</p>]]></description><category>编程备忘录</category><comments>http://www.linhaibo.com/post/12.html#comment</comments><wfw:comment>http://www.linhaibo.com/</wfw:comment><wfw:commentRss>http://www.linhaibo.com/feed.asp?cmt=12</wfw:commentRss><trackback:ping>http://www.linhaibo.com/cmd.asp?act=tb&amp;id=12&amp;key=fe1f0187</trackback:ping></item><item><title>解决XMLHTTP获取网页中文乱码问题</title><author>123@linhaibo.com (linhaibo)</author><link>http://www.linhaibo.com/post/11.html</link><pubDate>Sun, 27 Mar 2011 02:48:57 +0800</pubDate><guid>http://www.linhaibo.com/post/11.html</guid><description><![CDATA[<p>这个问题困惑我很久了,以前总是要让用户自己根据网页编码来选择UTF-8还是GB2312 。<br />今天遇到一个读取文件乱码,突然想起了以前用XMLHTTP获取网页源代码乱码问题,嘿嘿~一同解决了。<br />&nbsp;&nbsp; 跟大家分享一下吧!<br />主要是对编码的判断,然后进行相对应的转换即可。</p>]]></description><category>编程备忘录</category><comments>http://www.linhaibo.com/post/11.html#comment</comments><wfw:comment>http://www.linhaibo.com/</wfw:comment><wfw:commentRss>http://www.linhaibo.com/feed.asp?cmt=11</wfw:commentRss><trackback:ping>http://www.linhaibo.com/cmd.asp?act=tb&amp;id=11&amp;key=45b2273f</trackback:ping></item><item><title>VB RichText控件中解析HTML代码</title><author>123@linhaibo.com (linhaibo)</author><link>http://www.linhaibo.com/post/10.html</link><pubDate>Sun, 27 Mar 2011 02:36:23 +0800</pubDate><guid>http://www.linhaibo.com/post/10.html</guid><description><![CDATA[VB 在RichTextBox控件中使用HTML代码来设置文字样式，目前只支持 &amp;lt;font&amp;gt;、&amp;lt;br&amp;gt;、&amp;lt;b&amp;gt; 标签，可通过font标签的Color、Size、Face属性来设置文本的字体颜色、字体大小以及文字字体。&lt;br /&gt;&lt;span style=&quot;color: #ff0000&amp;qu]]></description><category>编程备忘录</category><comments>http://www.linhaibo.com/post/10.html#comment</comments><wfw:comment>http://www.linhaibo.com/</wfw:comment><wfw:commentRss>http://www.linhaibo.com/feed.asp?cmt=10</wfw:commentRss><trackback:ping>http://www.linhaibo.com/cmd.asp?act=tb&amp;id=10&amp;key=6c0d6b85</trackback:ping></item><item><title>增强版VB正则表达式(VBScript.RegExp)组件,兼容Perl正则语法</title><author>123@linhaibo.com (linhaibo)</author><link>http://www.linhaibo.com/post/9.html</link><pubDate>Sun, 27 Mar 2011 02:12:26 +0800</pubDate><guid>http://www.linhaibo.com/post/9.html</guid><description><![CDATA[<a target="_blank" href="http://down1.newxing.com/G.php?u=ZmlsZS9SZWdFeHAucmFy&amp;i=aHR0cDovL3d3dy5uZXd4aW5nLmNvbS8="><img border="0" alt="" src="/img/rar.gif" />NewXing.RegExp 正则组件.rar</a><br /><br />本组件用的是<a target="_blank" href="http://www.regexlab.com">DEELX </a>正则引擎封装的com组件。<br />...]]></description><category>编程备忘录</category><comments>http://www.linhaibo.com/post/9.html#comment</comments><wfw:comment>http://www.linhaibo.com/</wfw:comment><wfw:commentRss>http://www.linhaibo.com/feed.asp?cmt=9</wfw:commentRss><trackback:ping>http://www.linhaibo.com/cmd.asp?act=tb&amp;id=9&amp;key=366c04af</trackback:ping></item><item><title>VB 判断图片文件的类型格式</title><author>123@linhaibo.com (linhaibo)</author><link>http://www.linhaibo.com/post/8.html</link><pubDate>Sun, 27 Mar 2011 02:09:23 +0800</pubDate><guid>http://www.linhaibo.com/post/8.html</guid><description><![CDATA[VB 通过二进制方式来判断图片的格式，下面只对 JPG 、GIF、PNG、BMP、ICO 几个常用的图片格式做了判断。]]></description><category>编程备忘录</category><comments>http://www.linhaibo.com/post/8.html#comment</comments><wfw:comment>http://www.linhaibo.com/</wfw:comment><wfw:commentRss>http://www.linhaibo.com/feed.asp?cmt=8</wfw:commentRss><trackback:ping>http://www.linhaibo.com/cmd.asp?act=tb&amp;id=8&amp;key=19092ab4</trackback:ping></item><item><title>VB 设置ListView中指定一行的背景颜色</title><author>123@linhaibo.com (linhaibo)</author><link>http://www.linhaibo.com/post/7.html</link><pubDate>Sun, 27 Mar 2011 02:05:20 +0800</pubDate><guid>http://www.linhaibo.com/post/7.html</guid><description><![CDATA['SetListViewBGColor(ListView控件名称,要设置的背景颜色行号,颜色值-默认：&amp;HB6B4FF)Public Sub SetListViewBGColor(ByRef ListView As ListView, _&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]]></description><category>编程备忘录</category><comments>http://www.linhaibo.com/post/7.html#comment</comments><wfw:comment>http://www.linhaibo.com/</wfw:comment><wfw:commentRss>http://www.linhaibo.com/feed.asp?cmt=7</wfw:commentRss><trackback:ping>http://www.linhaibo.com/cmd.asp?act=tb&amp;id=7&amp;key=acdaa1cf</trackback:ping></item><item><title>VB API选择文件夹</title><author>123@linhaibo.com (linhaibo)</author><link>http://www.linhaibo.com/post/5.html</link><pubDate>Sat, 05 Dec 2009 23:08:32 +0800</pubDate><guid>http://www.linhaibo.com/post/5.html</guid><description><![CDATA[<p>Declare Function SHGetPathFromIDList Lib &quot;shell32.dll&quot; _<br />Alias &quot;SHGetPathFromIDListA&quot; (ByVal pidl As Long, _<br />ByVal pszPath As String) As Long<br /><br />Declare Function SHBrowseForFolder Lib &quot;shell32.dll&quot; _<br />...</p>]]></description><category>编程备忘录</category><comments>http://www.linhaibo.com/post/5.html#comment</comments><wfw:comment>http://www.linhaibo.com/</wfw:comment><wfw:commentRss>http://www.linhaibo.com/feed.asp?cmt=5</wfw:commentRss><trackback:ping>http://www.linhaibo.com/cmd.asp?act=tb&amp;id=5&amp;key=d88ebff0</trackback:ping></item></channel></rss>
