HELP with Com Port VB
15-Oct-91 04:38:08
Sb: #3025-HELP with Com Port VB
Fm: Mark Novisoff/MicroHelp 73047,3706
To: bob 73347,56
Bob,
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 DL5. (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).
Mark