博客园 - tsliudonguuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=795152015-12-15T04:40:12Ztsliudonghttps://www.cnblogs.com/liudong/feed.cnblogs.comhttps://www.cnblogs.com/liudong/p/5047851.html如何探访他人电脑 - tsliudong一、怎么通过网络访问别人的主机:1、取得对方IP地址。2.判断对方上网的地点,开个DOS窗口键入 TRACERT XX.XX.XX.XX 第4和第5行反映的信息既是对方的上网地点。3.得到对方电脑的名称,开个DOS窗口键入 NBTSTAT -A XX.XX.XX.XX 第一行是对方电脑名称 第二行是...2015-12-15T04:40:00Z2015-12-15T04:40:00Ztsliudonghttps://www.cnblogs.com/liudong/该文只有注册用户登录后才能阅读。<a href='https://www.cnblogs.com/liudong/p/5047851.html' target='_blank'>阅读全文</a>。https://www.cnblogs.com/liudong/p/3406827.htmlhanzi 全拼音 qu de - tsliudongFunction pinyin(ByVal mystr As String, Optional types As Byte = 0) As StringDim temp As String, i As Long, j As Long, a, bWith CreateObject("Scripting.Dictionary").Add "a", "-20319".Add "ai", "-20317".Add "an", "-20304".Add "2013-11-04T08:20:00Z2013-11-04T08:20:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】Function pinyin(ByVal mystr As String, Optional types As Byte = 0) As StringDim temp As String, i As Long, j As Long, a, bWith CreateObject("Scripting.Dictionary").Add "a", "-20319".Add "ai", "-20317".Add "an", "-20304".Add " <a href="https://www.cnblogs.com/liudong/p/3406827.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/p/3406818.htmlqu de hanzi 首字母 - tsliudongFunction hztopy(hzpy As String) As StringDim hzstring As String, pystring As StringDim hzpysum As Integer, hzi As Integer, hzpyhex As Integerhzstring = Trim(hzpy)hzpysum = Len(Trim(hzstring))pystring = ""For hzi = 1 To hzpysum hzpyhex = "&H" + Hex(Asc(Mid(hzstring, hzi, 1))) 2013-11-04T08:16:00Z2013-11-04T08:16:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】Function hztopy(hzpy As String) As StringDim hzstring As String, pystring As StringDim hzpysum As Integer, hzi As Integer, hzpyhex As Integerhzstring = Trim(hzpy)hzpysum = Len(Trim(hzstring))pystring = ""For hzi = 1 To hzpysum hzpyhex = "&H" + Hex(Asc(Mid(hzstring, hzi, 1))) <a href="https://www.cnblogs.com/liudong/p/3406818.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/p/3373096.htmlvba功能语句 - tsliudongVBA语句集(第1辑)定制模块行为(1) Option Explicit '强制对模块内所有变量进行声明Option Private Module '标记模块为私有,仅对同一工程中其它模块有用,在宏对话框中不显示Option Compare Text '字符串不区分大小写Option Base 1 '指定数组的第一个下标为1(2) On Error Resume Next '忽略错误继续执行VBA代码,避免出现错误消息(3) On Error GoTo ErrorHandler '当错误发生时跳转到过程中的某个位置(4) On Error GoT2013-10-16T14:50:00Z2013-10-16T14:50:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】VBA语句集(第1辑)定制模块行为(1) Option Explicit '强制对模块内所有变量进行声明Option Private Module '标记模块为私有,仅对同一工程中其它模块有用,在宏对话框中不显示Option Compare Text '字符串不区分大小写Option Base 1 '指定数组的第一个下标为1(2) On Error Resume Next '忽略错误继续执行VBA代码,避免出现错误消息(3) On Error GoTo ErrorHandler '当错误发生时跳转到过程中的某个位置(4) On Error GoT <a href="https://www.cnblogs.com/liudong/p/3373096.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/p/3372970.htmlvba比较日期大小,定义日期;vba让excel保存 - tsliudongPrivate Sub CommandButton1_Click()Dim i, j As IntegerDim a As Datea = #10/1/2013#j = 2i = 2' If Worksheets("改后B").Range("a" & CStr(i)) = Worksheets("改后A").Range("a" & CStr(j)) And Worksheets("改后B").Range("b" & CStr(i)) = Wor2013-10-16T13:46:00Z2013-10-16T13:46:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】Private Sub CommandButton1_Click()Dim i, j As IntegerDim a As Datea = #10/1/2013#j = 2i = 2' If Worksheets("改后B").Range("a" & CStr(i)) = Worksheets("改后A").Range("a" & CStr(j)) And Worksheets("改后B").Range("b" & CStr(i)) = Wor <a href="https://www.cnblogs.com/liudong/p/3372970.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/archive/2012/03/19/2405837.htmlvba常用语句 - tsliudong得到当前月份的天数 =DAY(DATE(YEAR(TODAY()),MONTH(TODAY())+1,0))2012-03-19T03:38:00Z2012-03-19T03:38:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】得到当前月份的天数 =DAY(DATE(YEAR(TODAY()),MONTH(TODAY())+1,0)) <a href="https://www.cnblogs.com/liudong/archive/2012/03/19/2405837.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/archive/2010/10/18/1854018.htmlvba中部分函数用法 - tsliudongMATCH函数说明:MATCH(lookup_value,lookup_array,match_type)Lookup_value 为需要在数据表中查找的数值。Lookup_value 为需要在 Look_array 中查找的数值。例如,如果要在电话簿中查找某人的电话号码,则应该将姓名作为查找值,但实际上需要的是电话号码。Lookup_value 可以为数值(数字、文本或逻辑值)或对数字、文本或...2010-10-18T02:07:00Z2010-10-18T02:07:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】MATCH函数说明:MATCH(lookup_value,lookup_array,match_type)Lookup_value 为需要在数据表中查找的数值。Lookup_value 为需要在 Look_array 中查找的数值。例如,如果要在电话簿中查找某人的电话号码,则应该将姓名作为查找值,但实际上需要的是电话号码。Lookup_value 可以为数值(数字、文本或逻辑值)或对数字、文本或... <a href="https://www.cnblogs.com/liudong/archive/2010/10/18/1854018.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/archive/2009/03/31/1426762.html未能创建 Mutex。 - tsliudong有时浏览.aspx 页时会出现一下错误!“/WebSite”应用程序中的服务器错误。 -------------------------------------------------------------------------------- 未能创建 Mutex。 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关...2009-03-31T15:59:00Z2009-03-31T15:59:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】有时浏览.aspx 页时会出现一下错误!“/WebSite”应用程序中的服务器错误。 -------------------------------------------------------------------------------- 未能创建 Mutex。 说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关... <a href="https://www.cnblogs.com/liudong/archive/2009/03/31/1426762.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/archive/2009/03/29/1424278.htmlasp.net系列控件之_hidden的使用 - tsliudong下面开始讲解:HtmlInputHidden控件 定义和用法 HtmlInputHidden控件用来控制元素。在HTML中,此元素用来建立一个隐含的input域。 属性和事件 属性说明 Attributes 返回此元素所有属性名和属性值 Disabled 指明此控件是否被禁止的一个布尔值。默认值是false id 此控件的唯一id Name 此元素的名称 runat ...2009-03-29T01:34:00Z2009-03-29T01:34:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】下面开始讲解:HtmlInputHidden控件 定义和用法 HtmlInputHidden控件用来控制元素。在HTML中,此元素用来建立一个隐含的input域。 属性和事件 属性说明 Attributes 返回此元素所有属性名和属性值 Disabled 指明此控件是否被禁止的一个布尔值。默认值是false id 此控件的唯一id Name 此元素的名称 runat ... <a href="https://www.cnblogs.com/liudong/archive/2009/03/29/1424278.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/archive/2009/03/28/1423852.html回发或回调参数无效。在配置中使用 <pages enableEventValidation="true"/> 或在页面中使用 <%@ Page EnableEventValidation="true" %> 启用了事件验证。出于安全目的,此功能验证回发或回调事件的参数是否来源于最初呈现这些事件的服务器控件。如果数据有效并且是预期的,则使用 ClientScriptManager.RegisterForEventValidation 方法来注册回发或回调数据以进行验证。 - tsliudong回发或回调参数无效。在配置中使用 或在页面中使用 启用了事件验证。出于安全目的,此功能验证回发或回调事件的参数是否来源于最初呈现这些事件的服务器控件。如果数据有效并且是预期的,则使用 ClientScriptManager.RegisterForEventValidation 方法来注册回发或回调数据以进行验证。 我的解决办法: 1,当页面中有多个FORM标记时会出现,我把服务器运行的FOR...2009-03-28T02:30:00Z2009-03-28T02:30:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】回发或回调参数无效。在配置中使用 或在页面中使用 启用了事件验证。出于安全目的,此功能验证回发或回调事件的参数是否来源于最初呈现这些事件的服务器控件。如果数据有效并且是预期的,则使用 ClientScriptManager.RegisterForEventValidation 方法来注册回发或回调数据以进行验证。 我的解决办法: 1,当页面中有多个FORM标记时会出现,我把服务器运行的FOR... <a href="https://www.cnblogs.com/liudong/archive/2009/03/28/1423852.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/archive/2008/06/11/1217211.htmlVBA实例 - tsliudong(1)99乘法表,以及为此表修改格式 Sub test() For x = 1 To 10 For y = 1 To 10 Cells(x, y).Value = x & "*" & y & "=" & x * y Next y Next x End Sub Sub test2() Dim cell As Variant Worksheets(1).Select For ...2008-06-11T02:28:00Z2008-06-11T02:28:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】(1)99乘法表,以及为此表修改格式 Sub test() For x = 1 To 10 For y = 1 To 10 Cells(x, y).Value = x & "*" & y & "=" & x * y Next y Next x End Sub Sub test2() Dim cell As Variant Worksheets(1).Select For ... <a href="https://www.cnblogs.com/liudong/archive/2008/06/11/1217211.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/archive/2008/06/11/1217186.htmlvba的单元格引用的总结 - tsliudong在VBA代码中引用Excel工作表中单元格区域的方式小结 分类:ExcelVBA>>ExcelVBA对象模型编程>>常用对象>>Range对象 在使用ExcelVBA进行编程时,我们通常需要频繁地引用单元格区域,然后再使用相应的属性和方法对区域进行操作。所谓单元格区域,指的是单个的单元格、或者是由多个单元格组成的区域、或者是整行、整列等。下面,我们设定一些情形,以问答的形式对引用单元格区域的方...2008-06-11T02:06:00Z2008-06-11T02:06:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】在VBA代码中引用Excel工作表中单元格区域的方式小结 分类:ExcelVBA>>ExcelVBA对象模型编程>>常用对象>>Range对象 在使用ExcelVBA进行编程时,我们通常需要频繁地引用单元格区域,然后再使用相应的属性和方法对区域进行操作。所谓单元格区域,指的是单个的单元格、或者是由多个单元格组成的区域、或者是整行、整列等。下面,我们设定一些情形,以问答的形式对引用单元格区域的方... <a href="https://www.cnblogs.com/liudong/archive/2008/06/11/1217186.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/archive/2008/06/07/1215630.htmljavascript小技巧【待续】 - tsliudong(1)点击按钮,让窗口刷新 Click the button on the left for a reminder in 5 seconds; click the button on the right to cancel the reminder before it is displayed. (2)让窗体的大小受到控制,并且没有工具栏 window.open("...2008-06-07T07:54:00Z2008-06-07T07:54:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】(1)点击按钮,让窗口刷新 Click the button on the left for a reminder in 5 seconds; click the button on the right to cancel the reminder before it is displayed. (2)让窗体的大小受到控制,并且没有工具栏 window.open("... <a href="https://www.cnblogs.com/liudong/archive/2008/06/07/1215630.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/archive/2008/06/02/1212101.html为IE窗口添加菜单实例 - tsliudong下面是窗体show.html前台 关于刘冬 关于大唐 调用mm_menu.js文件中的代码如下: /** * mm_menu 20MAR2002...2008-06-02T05:37:00Z2008-06-02T05:37:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】下面是窗体show.html前台 关于刘冬 关于大唐 调用mm_menu.js文件中的代码如下: /** * mm_menu 20MAR2002... <a href="https://www.cnblogs.com/liudong/archive/2008/06/02/1212101.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/archive/2008/06/02/1211990.html给SQLServer2000升级遇到的问题 - tsliudong(1)在给SQLServer2000打sp4补丁时,服务管理器会停止服务,升级进程会占用服务的进程,所以这时服务管理器停止服务是正常情况。【待续】2008-06-02T03:10:00Z2008-06-02T03:10:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】(1)在给SQLServer2000打sp4补丁时,服务管理器会停止服务,升级进程会占用服务的进程,所以这时服务管理器停止服务是正常情况。【待续】 <a href="https://www.cnblogs.com/liudong/archive/2008/06/02/1211990.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/archive/2008/06/02/1211982.html为JDK增加新的jar包 - tsliudong应用程序找不到jdbc驱动通常是由于类路径(环境变量classpath)设置方面问题。另外有的程序不使用classpath,而是使用注册表。有的程序如JBuilder使用自带的jdk。设置不当都可能导致应用程序找不到jdbc驱动。出现诸如java.lang.ClassNotFoundException之类错误。 杀手锏:将jdbc驱动程序包(.jar或.zip文件)扔到jre(jre是jdk...2008-06-02T03:06:00Z2008-06-02T03:06:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】应用程序找不到jdbc驱动通常是由于类路径(环境变量classpath)设置方面问题。另外有的程序不使用classpath,而是使用注册表。有的程序如JBuilder使用自带的jdk。设置不当都可能导致应用程序找不到jdbc驱动。出现诸如java.lang.ClassNotFoundException之类错误。 杀手锏:将jdbc驱动程序包(.jar或.zip文件)扔到jre(jre是jdk... <a href="https://www.cnblogs.com/liudong/archive/2008/06/02/1211982.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/archive/2008/06/02/1211979.html成功部署JSP网站的经验总结 - tsliudong系统环境搭建: 数据库:SQLServer2000+SP4补丁 JDK6 update for 6 Tomcat 6; 部署过程: (1)安装sqlserver2000+sp4补丁,注意查看安装后的sqlserver的端口号,每次重启服务器将导致端口号的变化 (2)安装jdk6,只需设置path环境变量即可,其他不管。另外像在JSP页面或JAVAB...2008-06-02T03:05:00Z2008-06-02T03:05:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】系统环境搭建: 数据库:SQLServer2000+SP4补丁 JDK6 update for 6 Tomcat 6; 部署过程: (1)安装sqlserver2000+sp4补丁,注意查看安装后的sqlserver的端口号,每次重启服务器将导致端口号的变化 (2)安装jdk6,只需设置path环境变量即可,其他不管。另外像在JSP页面或JAVAB... <a href="https://www.cnblogs.com/liudong/archive/2008/06/02/1211979.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/archive/2008/06/02/1211978.html图片上传问题(含网页图片预览) - tsliudong所需jar包 commons-io-current-bin.tar.gz包的三个文件全部放进lib中 commons-fileupload-1.2.1-bin.zip包中的commons-fileupload-1.2.1.jar放进去 上传图片的代码示例: 文件发送页 send.jsp //对加入的图片的预览 ...2008-06-02T03:04:00Z2008-06-02T03:04:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】所需jar包 commons-io-current-bin.tar.gz包的三个文件全部放进lib中 commons-fileupload-1.2.1-bin.zip包中的commons-fileupload-1.2.1.jar放进去 上传图片的代码示例: 文件发送页 send.jsp //对加入的图片的预览 ... <a href="https://www.cnblogs.com/liudong/archive/2008/06/02/1211978.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/archive/2008/06/02/1211972.htmlC#数据库操作的几种读值对比 - tsliudong11程序的编写总能体现其灵活性,或许编程的乐趣莫不如此,而往往大都的初学者应用起又总显得不很灵活,究其因,感性认识到理性认识需要有个过程,而其中一个最简单的方法就是我们都要学会比较,这样或许我们能发现很多让我们感兴趣的问题: 下面就传递来的ID值,我们根据此ID然后从数据库中获得我们想要的东西,我列举了几种方法,共享给所有的初学者,如果对你有帮助,幸甚倍至!!!!! using System; u...2008-06-02T03:02:00Z2008-06-02T03:02:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】11程序的编写总能体现其灵活性,或许编程的乐趣莫不如此,而往往大都的初学者应用起又总显得不很灵活,究其因,感性认识到理性认识需要有个过程,而其中一个最简单的方法就是我们都要学会比较,这样或许我们能发现很多让我们感兴趣的问题: 下面就传递来的ID值,我们根据此ID然后从数据库中获得我们想要的东西,我列举了几种方法,共享给所有的初学者,如果对你有帮助,幸甚倍至!!!!! using System; u... <a href="https://www.cnblogs.com/liudong/archive/2008/06/02/1211972.html" target="_blank">阅读全文</a>https://www.cnblogs.com/liudong/archive/2008/05/30/1210583.html测试 - tsliudong测试2008-05-30T03:37:00Z2008-05-30T03:37:00Ztsliudonghttps://www.cnblogs.com/liudong/【摘要】测试 <a href="https://www.cnblogs.com/liudong/archive/2008/05/30/1210583.html" target="_blank">阅读全文</a>