Quote Originally Posted by t0ret0s View Post
Hello jmcilhinney, very useful code, thank you very much.
I tried it in combination of OpenFileDialog() but seems not working, there is an "Exception thrown: 'System.Threading.ThreadStateException' in System.Windows.Forms.dll" do you know how to resolve it ?
If it didn't work then you did it wrong. I don't know what you did so I have no idea what you did wrong. Did someone tell you I was psychic?

That said, why would you try it with an OpenFileDialog in the first place? The whole point of this is to give the user something to look at and provide feedback while work is performed in the background. How exactly is an OpenFileDialog background work?