Thank you for the help. I corrected the code and it is working by showing me the com's of all my serial ports. Why doesn't it show USB ports though? shouldn't it? If not what else do I need to do? Thanks
Hello
I am very new to .net and I am trying to figure out the best way to get a list of all of the currently available com ports. I have tried some code I found on the forum and it isn't working.
Dim ports As String() = SerialPort.GetPortNames()
Dim port As String
Dim x...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.