Microsoft Visual Studio 6, Visual Basic
To install FabulaTech Serial Port Control into Visual Basic 6, on the Project menu, click Components.
Then choose FabulaTech Serial Port Control and click OK.
As a result, FabulaTech Serial Port Control icon appears in Microsoft Visual Basic toolbar (left, vertical).
Using Control on Forms
Now, you can create FabulaTech Serial Port Control objects. Just drag and drop our control on your form.
By default, VisualBasic assigns name FTSPCControl1 to newly created object. You can reference methods and properties of the object in the following way:
Dim status As Boolean status = FTSPCControl1.IsEnabled
Creating Controls Dynamically
Also, you can declare and create FabulaTech Serial Port Control objects manually.
Dim my_FTSPCControl As Object ' Declaration Set my_FTSPCControl = CreateObject("FTSPC.FTSPCControl") ' Creation Dim status As Boolean status = my_FTSPCControl.IsEnabled