i got a richtextbox were text is entered truw TCP/IP (like messenger)
when the text looks like this:
Ontani says:
Hi
Friend says:
Hey, How your doing
Ontani says:
good, and you...?
it has to color my name (ontani) like in the example
how can i do this?
this is the send code:
someone an idea?
Greetz
when the text looks like this:
Ontani says:
Hi
Friend says:
Hey, How your doing
Ontani says:
good, and you...?
it has to color my name (ontani) like in the example
how can i do this?
this is the send code:
Visual Basic:
toSend= userName & " says:" & vbCrLf & txtToSend.Text
txtRecieved.Text &= toSend & vbCrLf
wsTCP.SendData(toSend)
txtToSend.Text = ""
someone an idea?
Greetz