Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to read RFID tag and get the value through the comport to the my C# form , here i assign string called s to get readings from port1.ReadExisting();

like this --- > s += port1.ReadExisting(); and textbox1.text = s;

In this case it will give a error called " Cross-thread operation not valid: Control 'textBox1' accessed from a thread other than the thread it was created on."

please give a suggestion to this matter
Posted

1 solution

See here [^].
:)
 
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