D
Dave Harry
I'm using the following code to determine the available serial ports:
ComboBoxPort.Items.Clear()
For Each sp As String In My.Computer.Ports.SerialPortNames
ComboBoxPort.Items.Add(sp)
Next
It worked well in XP, but under Vista (now with SP1) the Bluetooth ports
don't show correctly.
We have half a dozen different brands and types of Bluetooth on various
computers, and all are displaying this behaviour.
I get this list:
COM1
COM3
COM4
COM10ñ
COM12ñ
COM92
COM11
The ñ letters are random and is different every time the sub is called.
Device Manager reliably shows:
Communications Port (COM1)
PCI Serial Port (COM3)
PCI Serial Port (COM4)
Standard Serial over Bluetooth link (COM10)
Standard Serial over Bluetooth link (COM11)
Standard Serial over Bluetooth link (COM12)
Standard Serial over Bluetooth link (COM9)
Any help, please?
ComboBoxPort.Items.Clear()
For Each sp As String In My.Computer.Ports.SerialPortNames
ComboBoxPort.Items.Add(sp)
Next
It worked well in XP, but under Vista (now with SP1) the Bluetooth ports
don't show correctly.
We have half a dozen different brands and types of Bluetooth on various
computers, and all are displaying this behaviour.
I get this list:
COM1
COM3
COM4
COM10ñ
COM12ñ
COM92
COM11
The ñ letters are random and is different every time the sub is called.
Device Manager reliably shows:
Communications Port (COM1)
PCI Serial Port (COM3)
PCI Serial Port (COM4)
Standard Serial over Bluetooth link (COM10)
Standard Serial over Bluetooth link (COM11)
Standard Serial over Bluetooth link (COM12)
Standard Serial over Bluetooth link (COM9)
Any help, please?