5 Place the serial communications compo-
nent.
1. Click [Toolbox]-[Components]-[Serial-
Port].
2. Drag the [SerialPort] component onto the
form design screen.
3. Configure the settings under [Serial Port]-
[Properties]-[Misc].
4. Check [Control Panels]-[Hardware and
Sound]-[Device Manager]-[Ports] and
change [Port Name] to the name of the port
being used.
6 Add code.
Double click the [Start] control that was placed
to display the code editor.
7 Choose [File]-[Save All] and exit Visual Stu-
dio
®
2017.