serialport1 mscomm equivalents

  • Thread starter Thread starter RG
  • Start date Start date
R

RG

I am looking for the equivalent serialport1 event handler for
"If MSComm1.CommEvent = comEvReceive Then"

I am not able to find the "data received event"
 
Hi,

The DataReceived event is what you are looking for.

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.
 
BTW, to get VB to generate this event stub, double-click the SerialPort
icon, or simply select it from the SerialPort event drop-down list in the
code window.

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.
 
Back
Top