摘要: 在中文操作系统的VBscript中,使用的是unicode字符集,所以很多base64编码、解码函数在理论上是正确的,但实际不能运行!http://hi.baidu.com/denglei%5Fbj/blog/item/2eb68547d556fd016b63e5b4.html<% sBASE_64_CHARACTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef... 阅读全文
posted @ 2009-12-29 23:59 clown 阅读(2345) 评论(0) 推荐(0)
摘要: UTF转GB2312 将UTF8编码文字转换为GB编码文字的asp代码function UTF2GB(UTFStr) for Dig=1 to len(UTFStr) '如果UTF8编码文字以%开头则进行转换 if mid(UTFStr,Dig,1)="%" then 'UTF8编码文字大于8则转换为汉字 if len(UTFStr) >= Dig+8 then GBStr=GBS... 阅读全文
posted @ 2009-12-29 23:35 clown 阅读(2506) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:52 clown 阅读(501) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:51 clown 阅读(3299) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:50 clown 阅读(2413) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:49 clown 阅读(572) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:46 clown 阅读(2265) 评论(0) 推荐(0)
摘要: 现在,有许多软件安装后会在 IE 浏览器的工具条上添加一个自定义按钮,为用户运行程序提供了方便,如"网络蚂蚁"、"金山词霸"等等。实际上添加这个自定义按钮并不难,只要找到了它在注册表中的位置和有关参数,通过手工或程序都可以轻易完成。而最方便的办法就是调用现成的 ActiveX 控件来完成这个功能,但 Windows 似乎没有提供这种控件。下面介绍如何开发和使用这种自定义控件。 实现方法   要添加... 阅读全文
posted @ 2009-12-29 18:44 clown 阅读(317) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:43 clown 阅读(1253) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:42 clown 阅读(527) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:40 clown 阅读(749) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:39 clown 阅读(1318) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:39 clown 阅读(262) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:37 clown 阅读(401) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:37 clown 阅读(751) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:35 clown 阅读(344) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:33 clown 阅读(618) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:32 clown 阅读(3022) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:28 clown 阅读(698) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:27 clown 阅读(717) 评论(0) 推荐(0)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:26 clown 阅读(882) 评论(0) 推荐(0)
摘要: VB掌管WebBrowser访问MSHTML成员虽然较VC++有限,但对大多数的应用问题不大,而且实现过程也很简单.一.在VB中使用WebBroswer控件1.在VB中使用Microsoft Internet Controls做浏览器最方便,但远不能尽WebBrowser之所能. VB能够实现的一些功能如下: >掌管WebBrowser控件实现浏览功能 >自动化IE >捕捉IE事... 阅读全文
posted @ 2009-12-29 18:26 clown 阅读(628) 评论(0) 推荐(0)
摘要: Function URLEncode(strURL) Dim I Dim tempStr For I = 1 To Len(strURL) If Asc(Mid(strURL, I, 1)) < 0 Then tempStr = "%" & Right(CStr(Hex(Asc(Mid(strURL, I, 1)))), 2) tempStr = "%" & Left(CSt... 阅读全文
posted @ 2009-12-29 18:24 clown 阅读(4237) 评论(0) 推荐(1)
摘要: [代码] 阅读全文
posted @ 2009-12-29 18:23 clown 阅读(2534) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1WebBrowser取消弹出式窗口23PrivateSubWebBrowser1_NavigateComplete2(ByValpDispAsObject,URLAsVariant)4DimoDoc... 阅读全文
posted @ 2009-12-29 18:22 clown 阅读(948) 评论(0) 推荐(0)
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--vb创建隐藏系统管理员'用法: HideUser用户名,密码OptionExplicit'系统账户操作PrivateDeclareFunctionNetUserAddLib"netapi32.dll"... 阅读全文
posted @ 2009-12-29 18:20 clown 阅读(658) 评论(0) 推荐(0)