For an application I was writing I require the ComboBox to display the open COM Ports for the user to select and therefore I wrote...
For Each CommCtrl.Commport ()
cmbPort.Items.Add(CommCtrl.CommID)
Next
However I seem to be getting a syntax error after the CommPort().
Firstly, is this the right sort of code to use? and if it is how can I remove the syntax error from this section?
You need to paste that link into the online help page within Visual Studio.
Open Visual Studio, Click On Help.
Paste it in the URL line on the help page