Skip to Content
0
Mar 25, 2012 at 05:52 PM

Thread error

54 Views

Dear all,

I am facing foll error at the time of using filedialogbrowser.

Problem:

Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it. This exception is only raised if a debugger is attached to the process.