- 博客(7)
- 收藏
- 关注
原创 什 [简明汉英词典]
VB一直以来被认为有以下优缺点:优点是上手快、开发效率高;缺点是能力有限,运行效率低。这正是有些软件把VB做为首选语言,而有些软件肯定不会用VB做的原因。而很多VC,DELPHI的程序员都认为VB里搞开发不自由,它让我们做事变容易的同时,也让我们发挥的余地越来越小。的确,简单和功能强大这两者本身就是一对矛盾。那怕一行代码不写,仅仅起动运行一个空窗体这样简单动作,VB在底下就为我们做了大量复杂的
2005-10-28 16:16:00 1398
原创 VarPtr、StrPtr和ObjPtr函数的用法
发展历史在Basic语言演变成QBasic,然后到Visual Basic之前,VarPtr函数就已经存在了。开始,这个函数存在于VB运行库1.0版中。通过声明可以调用这个函数:Declare Function VarPtr Lib "vbrun100.dll" (Var As Any) As Long数年之后,vbrun100.dll变成了msvbvm50.dll,但该函
2005-10-28 16:06:00 4477
原创 VB执行VB
Public Declare Function EbExecuteLine Lib "vba6.dll" (ByVal pStringToExec As Long, ByVal Unknownn1 As Long, ByVal Unknownn2 As Long, ByVal fCheckOnly As Long) As LongPublic Function ExecuteLine(sCode
2005-10-28 15:18:00 963
原创 在listview控件标题上添加图标
Private Type LVCOLUMN mask As Long fmt As Long cx As Long pszText As String cchTextMax As Long iSubItem As Long iImage As Long iOrder As Long End TypeDeclare Function SendMe
2005-10-27 13:07:00 1164
原创 人民币大写金额函数
Public Function rmb(num As Double) As String num = FormatNumber(num, 2) Dim numList As String Dim rmbList As String Dim numLen Dim numChar Dim n1, n2 As String numList = "零壹贰叁
2005-10-20 15:58:00 872
原创 Word中实现格式查找
ActiveDocument.Content.SelectWith Selection.Find .ClearFormatting .Text = "重量" .Font.NameFarEast = "黑体" .Forward = TrueEnd WithSelection.Find.ExecuteIf Selection.Find.Found = True Then
2005-10-19 16:17:00 1021
原创 修改文件夹创建时间和修改时间
模块Public Declare Function CreateFile Lib "kernel32" Alias "CreateFileA" (ByVal lpFileName As String, ByVal dwDesiredAccess As Long, ByVal dwShareMode As Long, lpSecurityAttributes As SECURITY_ATTRIBUT
2005-10-19 16:14:00 6442 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人