Article ID: 171824
Article Last Modified on 11/18/2003
170365 : INFO: Visual Studio 97 Service Packs - What, Where, and Why
171554 : INFO: Visual Basic 5.0 Fixes in Visual Studio 97 Service Pack 2
Private Sub Inet1_StateChanged(ByVal State As Integer)
Dim strMess As String ' Message variable.
Select Case State
' ... Other cases not shown.
Case icResponseCompleted ' 12
Dim vtData As Variant ' Data variable.
Dim strData As String: strData = ""
Dim bDone As Boolean: bDone = False
' Get first chunk.
vtData = Inet1.GetChunk(1024, icString)
Do While Not bDone
strData = Data & vtData
' Get next chunk.
vtData = Inet1.GetChunk(1024, icString)
If Len(vtData) = 0 Then
bDone = True
End If
Loop
txtdata.Text = strData
End Sub
Private Sub Command4_Click()
Inet1.Execute "ftp://Tony's Server", "dir"
End Sub
Additional query words: kbDSupport
Keywords: kbbug kbfix kbvbp500sp2fix kbvs97sp2fix KB171824