application halt if receiving data from serial port and openning other form simultaneously

  • Thread starter Thread starter wwbbx
  • Start date Start date
Another form is not equal to another thread. Seems like you are processing
serial port data on your UI thread (which is also handling all the paint
stuff). As Alex mentioned, do your serial port reading on another thread
... and if this data is not too critical, update your UI (textbox) using
Control.Invoke lazily by using buffers.

If its possible you can attach your code to this thread and I can take a
look at it.
Thanks.


This posting is provided "AS IS" with no warranties, and confers no rights.



--------------------
Reply-To: "wwbbx" <[email protected]>
From: "wwbbx" <[email protected]>
References: <[email protected]>
Subject: Re: application halt if receiving data from serial port and
openning other form simultaneously
 
Back
Top