Can Mscomm send Binary file?
Hi,
Yes, MSComm can send binary data. If you are using it under a DBCS enabled
version of Windows (such as Chinese, Japanese, Korean, etc.), then you have
to set the InputMode property to comInputModeBinary, and use arrays of type
Byte (not Strings) to buffer transmit and receive data.
I have examples and much more detailed information on this in my book. See
below for information.
--
Richard Grier
Hard & Software
12962 West Louisiana Avenue
Lakewood, CO 80228
303-986-2179 (voice)
303-986-3143 (fax)
Author of Visual Basic Programmer's Guide to Serial Communications, 2nd
Edition (355 pages).
For information look on my homepage at http://www.hardandsoftware.net.
Use the Books link to order. For faster service contact the publisher at
http://www.mabry.com.