From: gol on
Hi,
I'm developing in c# .NetCF 2.0. I have two operations that need to come one
after another(in fact there are more than two but the basic idea is the same).
However, before starting the second, I must read and process the data from
the serial port(which is generated as a result of the first operation).
How to do it?
What is the best way?
What is the easiest way?
Thank you very much
From: "Paul G. Tobey [eMVP]" p space tobey no spam AT no instrument no spam DOT on
Huh? You want to do operation 1, then 2? Then write the code with 1 before
2. I don't understand what the real question is. If you don't want to
block user interface interaction while you wait for the serial port data to
arrive, put the code, with 1 before 2, in a separate thread. This is very
well documented in the help...

Paul T.

"gol" <gol(a)discussions.microsoft.com> wrote in message
news:38E47FB1-4887-4219-939E-E8D4BE0BE8FF(a)microsoft.com...
> Hi,
> I'm developing in c# .NetCF 2.0. I have two operations that need to come
> one
> after another(in fact there are more than two but the basic idea is the
> same).
> However, before starting the second, I must read and process the data from
> the serial port(which is generated as a result of the first operation).
> How to do it?
> What is the best way?
> What is the easiest way?
> Thank you very much