Hi. First I have to thank you for all your suggestions.
I still have to try your examples with my special application. But to
clarify things up I never used the BackgroundWorker component. It was just a
question if it makes sense in my situation. The solution I tried and what I
have outlined in the first post was using a separate thread which executed a
method (similar to Stoitcho's example). This method called
"Application.Run(appContext)" with the newly created appContext. I think my
problem was that from the console application I instantiated another class
and in that class I wanted to open the form.
Anyway I still have to try a little bit...
Armin,
I suggest to post some compilable sample code - simple console application
that opens an empty form in the way you want.
As for the special object that opens the form it probably doesn't matter in
which thred you create the object what matters is what thread executes the
code that calls Application.Run.

Signature
Stoitcho Goutsev (100)
> Hi. First I have to thank you for all your suggestions.
> I still have to try your examples with my special application. But to
[quoted text clipped - 10 lines]
> and in that class I wanted to open the form.
> Anyway I still have to try a little bit...
Armin Prosch - 23 May 2006 20:46 GMT
Thanks again for your suggestions. I finally got it to run. But unfortunately
now I've run into another problem (described in a new thread).
> Armin,
>
[quoted text clipped - 19 lines]
> > and in that class I wanted to open the form.
> > Anyway I still have to try a little bit...