Microsoft Visual Studio 6, Visual Basic
To install FabulaTech Serial Port Control into Visual Basic 6, on the Project menu, click Components.
![](img/sdk/ax-vs6-vb-1.gif)
Then choose FabulaTech Serial Port Control and click OK.
![](img/products/spc/sdk/ax-vs6-vb-2.gif)
As a result, FabulaTech Serial Port Control icon appears in Microsoft Visual Basic toolbar (left, vertical).
![](img/products/spc/sdk/ax-vs6-vb-3.gif)
Using Control on Forms
Now, you can create FabulaTech Serial Port Control objects. Just drag and drop our control on your form.
![](img/products/spc/sdk/ax-vs6-vb-4.gif)
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