Question

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!

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top