Click here to Skip to main content
15,913,610 members

Comments by Hamid Khezeli (Top 3 by date)

Hamid Khezeli 10-Dec-11 23:42pm View    
Thanks for help.

0) Yes, it is Windows form, .NET 3.5 , Visual Studio 2008
1) I use both of them, actually I use OpenFileDialog , SaveFileDialog, and folderDialog in design view and after one day all of them got this error. After that I use above code for test it in run time but also that was unsuccessful.
2) No, I don’t use them; In addition I checked all kind of these things.
Hamid Khezeli 10-Dec-11 3:08am View    
Thanks all,
I checked above link but my problem still exists.
Hamid Khezeli 8-Dec-11 13:49pm View    
Thanks for replies,
It's a simple Code like:
OpenFileDialog OFD = new OpenFileDialog();
OFD.ShowDialog(); // In this line I get error

Also I follow my source code and realize before connect to Oledb database(Aceess) my code work correctly and after connect to database it get error.
Additionally, I get this error recently and before it was worked correctly.

Please help me. there isn't a good solution in the web even at microsoft website.