Hi,
I have a problem using a modem with MsComm control.I set InBufferCount to 1024, RTreshold=1. When I receive a large amount of data I cannot put them all simultaneously in my RichTextBox. In fact I receive only one buffer size data(1kb). When I try to enlarge buffer size I get max.4kb (although I try to put more-InBufferCount=10240. I don't know size of receiving data so this doesn't count anyway). I tried also with OnComm event, but I didn't get any response on comEventRxOver.
Case comEventRxOver ' Receive buffer overflow.
RichTextBox2.Text = "comEventRxOver"
MsgBox ("Buffer overflow")

This doesn't work also (I know that I should expect END at the end of received data, but...):
Do
Buffer$ = Buffer$ & MSComm1.Input
Loop Until InStr(Buffer$, "END" & vbCrLf)

At the end I have another problem. I cannot scroll RichTextBox when the data is receiving, so I see only a top visible height, although I want to see data scrolling as they incomming from modem communications.
Vele