N
Nazim Lala [MSFT]
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.
--------------------
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]>
openning other form simultaneouslySubject: Re: application halt if receiving data from serial port and