Sleppatloh Miw
Member
- Joined
- Jan 31, 2021
- Messages
- 10
- Programming Experience
- Beginner
Hi there,
is there a way, when a program is started, to automatically select the serial port and ask the user if this is correct
I'm using the following, but I want to make it more user friendly.
window loaded:
foreach (string s in SerialPort.GetPortNames())
{
cbxComPort.Items.Add(s);
}
Kind regards
Wim
is there a way, when a program is started, to automatically select the serial port and ask the user if this is correct
I'm using the following, but I want to make it more user friendly.
window loaded:
foreach (string s in SerialPort.GetPortNames())
{
cbxComPort.Items.Add(s);
}
Kind regards
Wim