views:

203

answers:

1

Ok, I know that OpenFileDialogs needs STAThread, but i want to start the form from a console application, so I create a Thread for the Form that way I can print things to the console while working with the form, the problem is that if I want to use OpenFileDialogs then I can not print to the console!

A: 

Console Output from a WinForms Application
http://www.csharp411.com/console-output-from-winforms-application/

Robert Harvey