C
cbrown
I have a vb app that watches the COM port for incoming data. When it
sees that data it, it displays a form with a single label control on
it. When I call the form.Show() method, the form shows up, but the
label control does not draw and is transparent. Only if I do not open
the COM port does the label control draw (which of course defeats the
purpose). I am assuming I have to jump into multi-threading to correct
this, but my attempts so far have not got me anywhere. I have tried
watching the COM port on its own thread, which doesn't work
altogether, and I have tried displaying the Form on its own thread, but
it just opens the form and then immediately closes itself.
sees that data it, it displays a form with a single label control on
it. When I call the form.Show() method, the form shows up, but the
label control does not draw and is transparent. Only if I do not open
the COM port does the label control draw (which of course defeats the
purpose). I am assuming I have to jump into multi-threading to correct
this, but my attempts so far have not got me anywhere. I have tried
watching the COM port on its own thread, which doesn't work
altogether, and I have tried displaying the Form on its own thread, but
it just opens the form and then immediately closes itself.