About PortController
Introduction
Purchasing PortController
Redistributing PortController
License Agreement
Support
Getting Started
How to Use PortController
Using PortController with Visual Basic
Using PortController with Visual C++
Using PortController with Delphi
How to Use Events
Handling Events in Visual Basic
Handling Events in Visual C++
Handling Events in Delphi
PortController Sample Projects
Reading and Writing Binary Data
Handling PortController Errors
Reference
Properties
BaudRate Property
Break Property
BytesUsedRQ Property
BytesUsedTQ Property
Cd Property
Cts Property
DataBits Property
Dsr Property
Dtr Property
DtrDsr Property
EnableReadOnEventChar Property
EventChar Property
Parity Property
PortHandle Property
PortName Property
Ring Property
Rts Property
RtsCts Property
StopBits Property
XonXoff Property
Methods
ClearRQ Method
ClearTQ Method
Close Method
GetErrorStatus Method
Open Method
Read Method
ReadBinary Method
Write Method
WriteBinary Method
SendXoff Method
SendXon Method
Events
BreakSignal Event
CdToggle Event
CtsToggle Event
DataReceived Event
DsrToggle Event
Error Event
EvtCharReceived Event
Ring Event
TQEmpty Event

Using PortController with Visual C++

Add the PortController object to your project by selecting Project->Add To Project->Components and Controls from the menu bar:

The Components and Controls Gallery dialog box appears. Double click Registered ActiveX Controls and then select PortController Class from the dialog. Click Insert.

When asked if you want to insert the component, click Yes.

The Confirm Classes dialog box appears informing you that a wrapper class will be generated so that you can use PortController from your project. Click OK. Now click Close to close the Components and Controls Gallery dialog box.

Visual Studio will generate the wrapper class and the PortController icon will appear in the Controls toolbar. Drag the PortController icon onto the dialog.

You may now create a PortController instance in your code by using the Member Variables tab of the ClassWizard:

You may now begin coding with the PortController instance. See the PortController Reference for details on how to use PortControllers properties, methods, and events.