> There are lots of calls to controls and many happen in function calls
> from invoicePrintingLongRunningCodeThread. I need just an example in
> getting started with my thread job with Invoking so that this will
> always run and not fizzle out by not doing it right.
> Here is the thread job (it's not that long):
Again, I'd suggest looking at the sample code I linked to before:
http://www.pobox.com/~skeet/csharp/t...winforms.shtml
That gives an example of updating two labels, which is the kind of
thing you're
doing here. Basically, look through your code and identify everything
which
updates the UI - and make sure that runs in a thread-safe manner as per
the article.
Jon