VB如何释放大内存
废话少说,看代码:
测试工程1:
------------------------
类ct代码
------------------------
Option Explicit
Private m_lngV2 As Long
Private m_lngV1 As Long
Private m_lngV3 As Long
Private m_lngV4 As Long
Private m_lngV5 As Long
Private m_lngV6 As Long
Private m_lngV7 As Long
Private m_lngV8 As Long
Private m_lngV9 As Long
Public Property Get V9() As Long
V9 = m_lngV9
End Property
Public Property Let V9(ByVal lngValue As Long)
m_lngV9 = lngValue
End Property
Public Property Get V8() As Long
V8 = m_lngV8
End Property
Public Property Let V8(ByVal lngValue As Long)
m_lngV8 = lngValue
End Property
Public Property Get V7() As Long
V7 = m_lngV7
End Property
Public Property Let V7(ByVal lngValue As Long)
m_lngV7 = lngValue
End Property
Public Property Get V6() As Long
V6 = m_lngV6
End Property
Public Property Let V6(ByVal lngValue As Long)
m_lngV6 = lngValue
End Property
Public Property Get V5() As Long
V5 = m_lngV5
End Property
Public Property Let V5(ByVal lngVal
相关问答:
我用Delphi写了一个DLL, DLL里有MDI的子窗体,DLL初始化时 传递调用者的TApplication给DLL, 在Delphi7中调用已经通过,但是不知道在VB中有无TApplication对应类型, 是否能在VB中调用?
你好,用instance不是就可以了 ......
请教一下:我用vb写了一个调用Illustrator的测试程序,代码很简单:Private Sub Command1_Click()
Dim app As New Illustrator.Application
Dim doc As Illustrator.Document
Dim thislayer As Illustrator.Layer ......
用VB怎么只针对windows自带的文件的右键添加菜单 如(.txt .doc)
这个是只针对以这两个为扩展名的文件操作
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\txtfile\shell\[随便起名]\command]
@= ......
vb将winsock控件封装到dll问题 有什么好的思路? 如果用Socket API呢?
例如,像下面这样封装Winsock控件,行的通?
创建ActiveX dll,添加窗体frmClient,加入WinSock控件wskClient。
类代码:
Option Expli ......
帮我改改 我总觉得有问题
Type ID
number As Single
score As Integer
name As String * 6
End Type
Dim personl As ID, i%
Private Sub Command1_Click()
i = 0
&nbs ......