vshost32.exe has stopped working when I call the ShowDialog method of OpenFileDialog

ⅰ亾dé卋堺 提交于 2019-11-30 06:46:22

I was having the same problem and my solution was to "Enable native code debugging" in "Project properties/Debug/Enable Debuggers" section.

I thought, that I should be able to debug the issue, but instead the error was gone.

An possible this is a bug linked to Wuala Overlay Shell Extension. Uninstalling help me.

http://social.msdn.microsoft.com/Forums/de-DE/a073bbb8-5586-4f75-970f-858d90e069ef/openfiledialogsavefiledialog-crashen?forum=wpfde

I just re-installed the image of this computer that have I done after the installation and now it works :/. Very strange

I had a very similar issue that drove me crazy for a few days. It ended up being Lenovo Password Manager that came pre-installed on my laptop. It overlays forms with password boxes in with a remember password banner. Since uninstalling I've not encountered the issue again.

My suggestion to anyone coming across this is to check if you have any software that does any overlaying at all and check to see if that is the cause.

I remember seeing something akin to this on a computer with German locale, with our French application. I can't remember how we solved it, but the similarity points me towards checking locales... Invalid handle though usually means the object you call is already destroyed, though I really can't guess which object, as ofd must still be valid at this point.

Horst Schmid

I have had this problem with "VS Express 2013 for Windows Desktop" in a VB project. In the menu DEBUG -> Exceptions... there has been an item checked. After a "Reset All" in that dialog (unchecking all) the problem disappeared once, but came again the next time. There was a 0x4000001f, so I found Program and debugger quit without indication of problem. The given tip was helping again only onec: Project -> Properties -> Debug and turn off "Enable the Visual Studio hosting process". Later the problem occurred again!

Solution for me was adding new debug method. Instead of AnyCPU I used x86 debugging (next to "Start" button above click Configuration Manager -> Platform -> New -> x86 ). In meantime I have also enabled ClickOnce security settings in Project Properities, to "This is full trust app" but don't know the impact. Hope this will help somone.

I had the same problem My exception code is c0020001. I solved this issue by resetting all exceptions. For that go to {Debug --> Exceptions} and there you can reset all exceptions.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!