> THISFORM.Edit1.Value = THISFORM.Edit1.Value + THISFORM.OleControl1.Input > THISFORM.Edit1.SelStart = LEN( THISFORM.Edit1.Value ) >Great. not a lot of busy stuff going on.
CTRL ^ Home the cursor CTRL H Backspace (to bottom right of screen) ESC 5 Send unprotected page up to and including the cursor CTRL ^ Home the cursor CTRL H Backspace (to bottom right of screen) ESC 5 Send unprotected page up to and including the cursor ESC # Lock the keyboard ESC " unlock the keyboard CTRL ^ Home the cursor CTRL H Backspace (to bottom right of screen) ESC 5 Send unprotected page up to and including the cursorIf I read the above correctly, the host is trying to send you 3 pages of data, and messing with the keyboard in the meantime. 3 pages @ 80X25 = 6000 bytes going somewhere. I think you have insufficient buffer space and/or handshaking problems. As a test can you drop back to 300 bps to see if any more data becomes available? I think you are transmitting the control sequence fine, just dropping the data inbound. Others have reported problems with the control being unreliable - see here - http://fox.wikis.com/wc.dll?Wiki~MsComm32~VFP . I haven't experienced the problem, using hardware handshaking, allocating sufficient buffer space, and keeping the Oncomm event code very tight. Any massaging of the data should be done elsewhere.