用vbs来探测端口的代码 不用注册winsock
实现代码如下: On Error Resume Next if (lcase(right(wscript.fullname,11))="wscript.exe") then wscript.echo "Execute it under the cmd.exe Plz! Thx." wscript.q
实现代码如下: On Error Resume Next if (lcase(right(wscript.fullname,11))="wscript.exe") then wscript.echo "Execute it under the cmd.exe Plz! Thx." wscript.q
这里把符合以下条件的对象称为伪数组 1,具有length属性 2,按索引方式存储数据 3,不具有数组的push,pop等方法 如 1,function内的arguments 。 2,通过document.forms,Form.elements,Select.options,document.getE
各位如果有更好的见解可讨论下! 实现代码如下: /* * Js Class Cookie * Author:Mr Co */ var Cookie = function(/*Cookie名称*/name){ this.$name = name; var allcookies = document.c
今天重新研究了下VB里面的ScriptControl组件,发现asp里面也能调用。研究了下方法,后来和lcx讨论了下。得到了如下代码,在此感谢前辈的指点,呵呵。 代码很简单,我就不多做解释了,以免有人骂我装。 实现代码如下: 注意,虽然能用了,但是实验发现只有lake2客户端能用。希望有牛人出来改得
实现代码如下:// 涉及命名空间 using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Dra
实现代码如下: using System; using System.Collections; using System.Collections.Specialized; using System.Data; using System.Data.SqlClient; using System.Dat
实现代码如下: private string toadd = "├".private void GetArticleCategory(string pid) { SqlConnection conn = new SqlConnection("server=.;database=test;uid=sa
完整代码: 实现代码如下: $.fn.parseTemplate = function(data) { var str = (this).html(); var _tmplCache = {} var err = ""; try { var func = _tmplCache[str]; if (!
实现代码如下:' +----------------------------------------------------------------------------+ ' | Contact Info | ' +----------------------------------------
alert('$msg');"; } //把一些预定义的字符转换为 HTML 实体 function d_htmlspecialchars($string) { if(is_array($string)) { foreach($string as $key => $val) { $string