- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 万恶的VB6,不上调试器都不知道咋回事...
tMenu是个232自己的结构,想把File对象的内容用CopyMemory拷贝到这个区域,结果...没搞明白.Private Sub Command1_Click() Dim mObj As tMenu, b As String Dim pMenu As Long, ret As Long Dim mMenu As Menu
2012-05-29 15:06:00 748
转载 VB.net 里的WebBrowser 怎么使用-WebBrowser指南
http://www.jituannet.com/archives/category/%E4%BA%92%E8%81%94%E7%BD%91/page/2首先,必须有COM的基础知识,因为IE本身就是COM技术的典型应用。我们看到最上层是WebBrowser的宿主(Host),也就是任何你想重用 (ReUse)webbrowser control的应用程序,可以是vb程序,也可以是
2011-09-08 15:36:21 10806
转载 最新网络语录-看了保证你笑到抽筋
http://www.jituannet.com/archives/category/%E4%BA%92%E8%81%94%E7%BD%91/page/21、种草不让人去躺,不如改种仙人掌!2、我心眼儿有些小,但是不缺;我脾气很好,但不是没有!3、人和猪的区别就是:猪一直是猪,而人有时却不是人!4、原来只要是分开了的人,不论原来多么熟悉,也会慢慢变得疏远。5、去披萨店买披萨
2011-09-08 15:35:08 1203
原创 排序数组A,B合并到C,就是不给小娃看,嘿嘿
Dim a, b, Flag As Booleanb = Array(1, 3, 7, 9)a = Array(2, 4, 5, 8, 10, 11, 19)Dim c()Dim numA, numBnumA = UBound(a)numB = UBound(b)ReDim c(0 To numA + numB + 1)numA = 0: numB = 0Dim
2011-05-11 21:50:00 636
原创 进程枚举,网络上代码竟然有很多错误,唉。声明不加上必要的byval
Option ExplicitPrivate Declare Function CreateToolhelp32Snapshot Lib "kernel32.dll" (ByVal dwFlags As Long, ByVal th32ProcessID As Long) As Long '这个API返回的是长整型值,就是快照系统的后的句柄 ,,,最后一个参数0表示快照当前所有的进程Pri
2011-05-09 10:57:00 642
转载 显示器控制,待测试
<br />代码:<br />.586<br />.model flat, stdcall<br />option casemap:none<br />include windows.inc<br />include user32.inc<br />include kernel32.inc<br />includelib user32.lib<br />includelib kernel32.lib<br />include macros.asm<br />.code<br />start:<b
2011-03-14 21:43:00 456
转载 控制台命名管道
Option ExplicitPrivate Const NORMAL_PRIORITY_CLASS= &H20&Private Const STARTF_USESTDHANDLES= &H100&Private Const STARTF_USESHOWWINDOW= &H1Private Type SECURITY_ATTRIBUTES
2011-03-09 13:52:00 913
转载 人家的vb winsock 通讯
<br />'强人的api winsock<br />Declare Function bind Lib "ws2_32.dll" (ByVal s AsLong, addr As SOCK_ADDR, ByVal namelen AsLong) AsLong<br />Declare Function closesocket Lib "ws2_32.dll" (ByVal s AsLong) AsLong<br />Declare Function connect Lib "ws2_32.dll" (By
2011-02-23 13:56:00 900
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人