12 2009 档案

摘要:在中文操作系统的VBscript中,使用的是unicode字符集,所以很多base64编码、解码函数在理论上是正确的,但实际不能运行!http://hi.baidu.com/denglei%5Fbj/blog/item/2eb68547d556fd016b63e5b4.html<% sBASE_64_CHARACTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdef... 阅读全文
posted @ 2009-12-29 23:59 clown 阅读(2306) 评论(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 阅读(2456) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:52 clown 阅读(492) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:51 clown 阅读(3278) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:50 clown 阅读(2386) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:49 clown 阅读(554) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:46 clown 阅读(2230) 评论(0) 推荐(0) 编辑
摘要:现在,有许多软件安装后会在 IE 浏览器的工具条上添加一个自定义按钮,为用户运行程序提供了方便,如"网络蚂蚁"、"金山词霸"等等。实际上添加这个自定义按钮并不难,只要找到了它在注册表中的位置和有关参数,通过手工或程序都可以轻易完成。而最方便的办法就是调用现成的 ActiveX 控件来完成这个功能,但 Windows 似乎没有提供这种控件。下面介绍如何开发和使用这种自定义控件。 实现方法   要添加... 阅读全文
posted @ 2009-12-29 18:44 clown 阅读(304) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:43 clown 阅读(1244) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:42 clown 阅读(514) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:40 clown 阅读(736) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:39 clown 阅读(1296) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:39 clown 阅读(251) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:37 clown 阅读(389) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:37 clown 阅读(741) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:35 clown 阅读(337) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:33 clown 阅读(606) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:32 clown 阅读(2896) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:28 clown 阅读(690) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:27 clown 阅读(707) 评论(0) 推荐(0) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:26 clown 阅读(844) 评论(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 阅读(617) 评论(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 阅读(4185) 评论(0) 推荐(1) 编辑
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:23 clown 阅读(2514) 评论(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 阅读(928) 评论(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 阅读(637) 评论(0) 推荐(0) 编辑
摘要:先看一下不需要传入参数的多线程例子:例1ThreadStart threadStart=new ThreadStart(Calculate); Thread thread=new Thread(threadStart);  thread.Start();  public void Calculate(){  double Diameter=0.5;  Console.Write("The Area... 阅读全文
posted @ 2009-12-20 13:41 clown 阅读(3746) 评论(2) 推荐(1) 编辑
摘要:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1//---------------------------------------------------------------------------23#include<vcl.h>... 阅读全文
posted @ 2009-12-17 23:27 clown 阅读(951) 评论(0) 推荐(0) 编辑
摘要:查找操作 1.ctrl+b 写程序的时候,括号一般要一一对应的,但是如果嵌套太多,看花眼了,怎么办?你把光标放在括号开始的地方,按ctrl+b,UE 会帮你找到相对应的括号结尾的地方。你还可以试试连着多按几次ctrl+b。 3.ctrl+f2 程序会有很多行你当然可以记得你要到的行数,然后用ctrl+g,然后输入行号,到所在的行。但是用ctrl+f2我觉得更方便 。比如说你要频繁在多个functi... 阅读全文
posted @ 2009-12-17 23:25 clown 阅读(2381) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示