摘要: [代码]axWindowsMediaPlayer方法循环播放[代码] 阅读全文
posted @ 2009-05-05 21:17 ike_li 阅读(750) 评论(0) 推荐(0)
摘要: 字体 Font-family使用Arial, Hei, San-serif。 表示信息来源的文字,使用#008000字色;基本链接文字,使用默认字色#0000CC;表示次级/不重要链接的文字,使用#7777CC字色。 所有的灰色文字均使用#666666字色。 不要使用斜体字。 几套实用而简单的fon 阅读全文
posted @ 2009-03-11 16:42 ike_li 阅读(302) 评论(0) 推荐(0)
摘要: 记录Errorlog //获得程序运行目录 using System.IO;using System.Diagnostics; string runExeDir = Path.GetDirectoryName(Process.GetCurrentProcess().MainModule.FileNa 阅读全文
posted @ 2009-02-18 15:33 ike_li 阅读(352) 评论(0) 推荐(0)
摘要: 取系统时间和时间格式'20080812165758Dim file_Datetime As String = DateTime.Now.ToString("yyyyMMddHHmmss")Dim strTime As String = DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss")'增加或减当天的时间的天数Dim strTime As String = D... 阅读全文
posted @ 2008-10-20 08:36 ike_li 阅读(221) 评论(0) 推荐(0)
摘要: 1.把以下代码复制到记事本里面,后缀名改成xls,根据需要修改所要的模板 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Automated Report Generator Example 2008-09-23T01:35... 阅读全文
posted @ 2008-10-07 16:36 ike_li 阅读(415) 评论(0) 推荐(0)
摘要: 转自:http://kb.cnblogs.com/page/42229/ 经常需要在数据库与Execl之间互导数据。net时代,ADO.NET可以使用使用Microsoft.Jet.OleDb访问访问Excel,网上已经有很多类似的资源,最典型也是最简单的可能如下:(asp.net环境) Code Code highlighting produced by Actipro CodeHi... 阅读全文
posted @ 2008-09-28 08:36 ike_li 阅读(531) 评论(0) 推荐(0)
摘要: 1. vb.net Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Imports Microsoft.Office.Interop Private Sub NAR(ByVal o As Object) Try System.Ru... 阅读全文
posted @ 2008-09-10 21:44 ike_li 阅读(279) 评论(0) 推荐(0)
摘要: 1.利用数组直接赋值给range,速度明显快多了。 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Public Sub WriteToExcelFile(ByVal FileName As String, ByVal intRows As In... 阅读全文
posted @ 2008-09-10 15:34 ike_li 阅读(836) 评论(0) 推荐(0)
摘要: Split分隔字符串的应用(asp.net,vb.net,split、分隔、字符串)1、用字符串分隔: c#CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->usingSystem.Text.RegularExpressions;stringstr="aaajsbbbjsccc";string[]sArray=Regex.Split(str,"js",RegexOptions.IgnoreCase 阅读全文
posted @ 2008-08-20 09:46 ike_li 阅读(479) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2008-08-13 20:00 ike_li 阅读(338) 评论(0) 推荐(0)