*** ActiveX Control Event *** #DEFINE _end_char CHR(10) WITH THISFORM IF THIS.commevent = 2 * Received RThreshold # of chars. .cinbuffer = .cinbuffer + THIS.input IF _end_char$.cinbuffer * Got a CR, so do your processing here * to extract the complete string and leave any * remaining chars in .cinbuffer. * Better yet, create a form method to * handle the extraction and cleanup: .processdata ENDIF ENDIF ENDWITH>When I capture the output to a file, the file consists of sequential lines with a fixed number of characters followed ny a carriage return and a line feed.