随笔分类 -  VB

摘要:[代码] 阅读全文
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 阅读(751) 评论(0) 推荐(0)
摘要:[代码] 阅读全文
posted @ 2009-12-29 18:37 clown 阅读(401) 评论(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 阅读(626) 评论(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 阅读(4236) 评论(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)
摘要:现在杀毒软件对URLDOWNTOFILEA这个API查的是越来越严了,无论我怎么加密,动态调用等等就是被查出来。哎,我还不会很底层的东西,老老实实使用wininet的API写了一个下载的FUNCTION。感觉倒是很爽!简单列一下遇到的主要问题:1、InternetReadFile这个函数原型是Declare Function InternetReadFile Lib "wininet.dll" (... 阅读全文
posted @ 2009-11-26 01:10 clown 阅读(382) 评论(0) 推荐(0)
摘要:原文地址:http://blog.csdn.net/chenhui530/archive/2008/10/21/3119107.aspx 作者:chenhui530(大仙级人物)最近才发现的“RtlCreateUserThread”(下步调用ZwCreateThread)这可是个好东西,可以创建远程线程,也可以用来写多线程程序,但是在VB里好像还是不是很稳定只能用API。这... 阅读全文
posted @ 2009-11-26 01:09 clown 阅读(2002) 评论(0) 推荐(0)
摘要:很多人都在问如何用VB读取CMD命令执行后的回显,这个问题用VB做确实麻烦···这个代码是通过PIPE管道读取回显,保存为类调用即可。类模块代码如下:Option Explicit'The CreatePipe function creates an anonymous pipe,'and returns handles to the read and write e... 阅读全文
posted @ 2009-11-26 01:06 clown 阅读(1214) 评论(0) 推荐(0)