I have been seeing all post on OpenFileDialog and there are things that I do not understand.
I have SBO 2005 and VB.NET 2005, I have proven all the codes that I have found in post and does not work and to me it continues appearing the damn error :
""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.""
Does it work to somebody OpenFileDialog or somebody knows like doing it?
THANKS, VERY THANKS