Re: Winsock Array Problem
Which line is causing the error? How is sData declared?
How is wsArray declared?
Re: Winsock Array Problem
LoL funny thing is i think i solved it and i dont remember how, both lines are still identical and are declared the same. Here is what i am using to save people the trouble in the future
VB Code:
Dim wsArray() As String
Private Sub wsWWW_DataArrival(ByVal bytesTotal As Long)
Dim sData As String
wsWWW.GetData sData, vbString
wsArray = Split(sData, vbCrLf)
For i = 0 To UBound(wsArray)
If Len(wsArray(i)) > 0 Then
' Connection Script
End If
Next i
End Sub