To insert Serial Port ActiveX Control into the form, open the form in dialog editor, right-click it and click “Insert ActiveX Control…” menu item. Choose ” Serial Port ActiveX Control” from the available controls list.
To get access to all the properties and methods of the Serial Port ActiveX Control you need to add a variable for it. The Visual Studio will automatically generate a wrapper class to get access to the main methods and properties.
Notice: If ActiveX control issues “Wrong license” error message each time you access it, then to fix this problem, please, remove ActiveX Control and place it again on the form.