I have been expanding on an IRC Tutorial and it must not contain the code to display the sent and recieved messages that users send.
Here is the code that is under the DataArrival event:
It would seem that it isnt updating the "buffer" which is the textMessages.Text box correctly. Either that or its missing the code completely.
Here is the code that is under the DataArrival event:
Code:
On Error Resume Next
Dim sRecv As String
sckIRC.GetData(sRecv) Put the data recieved into the string
Play ping pong with the server
If Split(sRecv, " ")(0) = "PING" Then
sckIRC.SendData("PONG " & Split(sRecv, " ")(1))
End If
Update the buffer
textMessages.Text = textMessages.Text & sRecv & vbCrLf
textMessages.SelectionStart = Len(textMessages.Text)
It would seem that it isnt updating the "buffer" which is the textMessages.Text box correctly. Either that or its missing the code completely.