#Serial Port speed
10-Oct-91 08:16:48
Sb: #2359-#Serial Port speed
Fm: Mark Novisoff/MicroHelp 73047,3706
To: Eric Kadison 74766,2002
Eric,
There are three ways to do communications in Visual Basic:
1. The least practical is to use OPEN with "COMn", because it
depends on the default settings the user has set, i.e., you
cannot specify the baud, parity, data and stop bits.
2. The hard way is to use the Windows API calls directly. There are
two or three examples of doing this in DL1 and/or DL6. (They
may still be in the MSLANG forum.)
3. The easy way is to use an add-on library, such as my company's
communications library. In addition to making it very easy to
send and receive data, we provide many file transfer protocols
including XMODEM, YMODEM, YMODEM-G, ZMODEM and CompuServe B+.
As a bonus, the two versions of our product (one for QB/PDS and
the other for VB) are about 95% code-compatible. That means
you can move code between the two platforms with only minor
changes (if any).
With methods 2 and 3, you can specify the buffer size that Windows should
use for capturing data.
Mark
There is 1 Reply.