none
System.Windows.Forms.WebBrowser.DocumentText crashes unmanaged application with IE 9, 10, 11 RRS feed

  • Question

  • We have customized unmanaged application using .net 3.5 windows forms, VS2010. We have used System.Windows.Forms.WebBrowser control and DocumentText property worked until IE8. But if I upgrade to latest IE11, this property crashes application and shows "Application stopped working..."

    We are using Win 7, Autodesk Utility Design (AUD) 2009.

    I have placed Windows Forms WebBrowser control in a Form and used the below code

    webBrowser1.DocumentText = "<HTML><HEAD><TITLE>Your Title Here</TITLE></HEAD><BODY>This is a new paragraph</BODY></HTML>";

    Another problem noted which does not involves any code. I just launched AUD from desktop shortcut / start menu and shows same message as above "AutoCAD Application has stopped working"

    Error messages from event log..

    Event 1000, Application error. Faulting application name: acad.exe, version: 23.2.711.0, time stamp: 0x49e42240 Faulting module name: mshtml.dll, version: 10.0.9200.17088, time stamp: 0x53eeeef8 Exception code: 0xc0000005 Fault offset: 0x00b2f7ce Faulting process id: 0x2158 Faulting application start time: 0x01cfd841be92f07b Faulting application path: C:\Program Files (x86)\Autodesk Utility Design 2009\acad.exe Faulting module path: C:\Windows\SysWOW64\mshtml.dll Report Id: 022cdf32-4435-11e4-bf00-a4db30b9b366

    Its same case for IE10 and IE11. In my case I have installed IE10. If I uninstall IE10 and go back to IE8, then everything works
    The same issue also exists in Skype at http://community.skype.com/t5/Windows-desktop-client/skype-crashing-version-6-20-80-104-Windows-8/td-p/3644721

    From AutoDesk http://knowledge.autodesk.com/support/autocad-mep/troubleshooting/caas/sfdcarticles/sfdcarticles/AutoCAD-crashes-after-installing-Windows-security-update.html

    Tuesday, October 7, 2014 9:40 PM

All replies