易截截图软件、单文件、免安装、纯绿色、仅160KB

VB错误代码

3,Return without GoSub
5,Invalid procedure call
6,Overflow
7,Out of memory
9,Subscript out of range
10,This array is fixed or temporarily locked
11,Division by zero
13,Type mismatch
14,Out of string space
16,Expression too complex
17,Cant perform requested operation
18,User interrupt occurred
20,Resume without error
28,Out of stack space
35,Sub Function or Property not defined
47,Too many DLL application clients
48,Error in loading DLL
49,Bad DLL calling convention
51,Internal error
52,Bad file name or number
53,File not found
54,Bad file mode
55,File already open
57,Device I/O error
58,File already exists
59,Bad record length
61,Disk full
62,Input past end of file
63,Bad record number
67,Too many files
68,Device unavailable
70,Permission denied
71,Disk not ready
74,Cant rename with different drive
75,Path/File access error
76,Path not found
91,Object variable or With block variable not set
92,For loop not initialized
93,Invalid pattern string
94,Invalid use of Null
97,Cant call Friend procedure on an object that is not an instance of the
defining class
98,A property or method call cannot include a reference to a private object
298,System DLL could not be loaded
320,Cant use character device names in specified file names
321,Invalid file format
322,Can’t create necessary temporary file
325,Invalid format in resource file
327,Data value named not found
328,Illegal parameter; cant write arrays
335,Could not access system registry
336,ActiveX component not correctly registered
337,ActiveX component not found
338,ActiveX component did not run correctly
360,Object already loaded
361,Cant load or unload this object
363,ActiveX control specified not found
364,Object was unloaded
365,Unable to unload within this context
368,The specified file is out of date. This program requires a later version
371,The specified object cant be used as an owner form


相关文档:

VB中Shell和ShellExecute函数的使用方法和区别

 写了一个vb的程序,用来把原来写的几个vb和vc的程序整合起来。就是使用Shell函数。结果发现,vc的程序可以很好的显示,但vb写的却一运行就最小化了。仔细查看了一下以下文章,才发现原来shell函数的默认显示模式是windowstyle是等于vbMinimizedFocus。然后就是直接加上一个vbNormalFocus。一切ok!  
vb的s ......

推荐一些VB的学习交流网站

http://www.Experts-Exchange.com: 非常好的问题 讨论区,高手数不尽,而且这里的人很有专业精神,不会讨论一些和程序无关又无聊的问题。不过想要别人帮你 解决问题,自己也要有真诚的态度。
http://www.Codeguru.com/vb: 有名的源码讨论站 点,特点是在每个源码下面都可以跟帖讨论。
http://www.planet-source-code.co ......

asp vb.net 在线统计 简单版本 和精确版本

 简单
在Global.asa文件中加入如下的代码:
Java代码
1. <SCRIPT LANGUAGE="VBScript" RUNAT="Server">
2.
3. Sub Application_OnStart
4.
5. '当服务器开启时,设置在线用户计数器为0
6. Application("ActiveUsers") = 0
7.
......

VB: 取网页源码

Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" ( _
    ByVal pCaller As Long, _
    ByVal szURL As String, _
    ByVal szFileName As String, _
    ByVal dwReserved As Long, _
  ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号