Use the Read or ReadExisting (text only) methods. You can call this from
the DataReceived event. However, if you use DataReceived, you must use a
delegate to display the data, to avoid a cross-thread violation. You also
can use a Windows forms Timer control to poll ReadExisting, with no need for
a delegate.
I have lots of code examples in my book -- see below.
Dick
--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See
www.hardandsoftware.net for details and contact information.