VB学习中几个小问题请教大家
看到如下些代码,不太懂,请教
1 象这样定义:Dim WithEvents eventIE As WebBrowser
我只知道象dim str1 as string 不懂怎么有dim 后有两个词:withevents eventIE
2在有这样一个程序,是winstock空件数组
我不懂的是Load sckServer(intMax) ,是何意?可以这样用load么?我只回用load form
Private Sub sckServer_ConnectionRequest _
(Index As Integer, ByVal requestID As Long)
If Index = 0 Then
intMax = intMax + 1
Load sckServer(intMax) /// ??不懂怎么用load?
sckServer(intMax).LocalPort = 0
sckServer(intMax).Accept requestID
Load txtData(intMax)
End If
End Sub
3在有象private type XXX
dwScope As Long
dwType As Long
dwDisplayType As Long
dwUsage As Long
end type
z这里的
Private Type
End Type 中是定义一种类型?我没用过type 所一问问