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

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.



--------------------
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
 
Z

zubairalimansoor

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top