Re: MSComm1_OnComm()'s comEvReceive first or Buffer = MSComm1.Input



Like I said, there is no way to know. The respective events are
asynchronous. One may happen before the other one time, and another way
some other time. DO NOT DO THIS. It will cause bugs that you cannot
resolve.

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.


.