Click here to Skip to main content
16,011,608 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai,
I am doing one project for serial port read and write. It works fine but now i want to modify my serialport name and baudrate from my windows form through combobox. User want to select the portname and baudrate from combobox at that time my seialport property have to change based on combobox value.
For example now my project read and write data with serialport portname COM3 and baudrate 9600 by setting the properties of serialport control in my form. Now i want to change the property through combobox by selecting portname as COM1 that serialportname want to change and read and write data simultaneously...
Please help...
thanks in advance....
Posted

1 solution

You can change the values the same way you set them, read this : Serial Comms in C# for Beginners[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900