VBTerm (VBTerm.vbp)

VBTerm is a terminal emulation program using the MSComm control. The sample demonstrates how to use the MSComm control with a serial port.

Background

The MSComm control allows you to open a serial port, change its settings, send and receive data through the port, and monitor and set many of the different data lines. Its dual-method access allows for both polling and event-driven communications.

File Description
Cansend.frm Dialog box used during file transfer.
Termset.frm Form used to change the serial port settings.
Termset.frx Binary portion of TERMSET.FRM.
Vbterm.frm The main form.
Vbterm.frx Binary portion of VBTERM.FRM.
Vbterm.glo Public declarations.
Vbterm.vbp The project file for the sample application.

To Run

From the Visual Basic File menu, choose Open Project and select the VBTerm.vbp file, which is listed in the Samples directory. Press F5 or choose Start from the Run menu to run the application.