Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27020

VS 2008 serialport odd names

$
0
0
hello i have a application which when start up search the comports available on the system.The problem is they are not correct always for example com2 is com28 or com2c and more. my code is
Code:


  comports = SerialPort.GetPortNames()
        Dim port As String
        For Each port In comports

            ComboBox1.Items.Add(port)


        Next port


Viewing all articles
Browse latest Browse all 27020

Trending Articles