Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. IWebBrowser2 problem

IWebBrowser2 problem

Scheduled Pinned Locked Moved C / C++ / MFC
csharpvisual-studiocomadobedebugging
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    YaronNir
    wrote on last edited by
    #1

    Hi all, I have CWebBrowser wrapper for IWebBrowser2 class. i use it to run flash and static images. Problem is sometimes my application crashes because of certain flash that is running inside the web browser. (i can not tell which flash causes this). i have several computers which has visual studio debugger, so after this crash i see the debugger dialog... someone has suggested the problem is permission...but i am not sure... is there a way to catch or neutralizer the crash via IWebBrowser2? thanks for any thoughts or solutions Yaron

    Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)

    M 1 Reply Last reply
    0
    • Y YaronNir

      Hi all, I have CWebBrowser wrapper for IWebBrowser2 class. i use it to run flash and static images. Problem is sometimes my application crashes because of certain flash that is running inside the web browser. (i can not tell which flash causes this). i have several computers which has visual studio debugger, so after this crash i see the debugger dialog... someone has suggested the problem is permission...but i am not sure... is there a way to catch or neutralizer the crash via IWebBrowser2? thanks for any thoughts or solutions Yaron

      Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)

      M Offline
      M Offline
      Madhu Nair 0
      wrote on last edited by
      #2

      YaronNir wrote:

      is there a way to catch or neutralizer the crash via IWebBrowser2?

      Did you tried catch(...) ? Then NO.

      Y 2 Replies Last reply
      0
      • M Madhu Nair 0

        YaronNir wrote:

        is there a way to catch or neutralizer the crash via IWebBrowser2?

        Did you tried catch(...) ? Then NO.

        Y Offline
        Y Offline
        YaronNir
        wrote on last edited by
        #3

        of course :) is there a way to catch the error from the IHTmlDocument or something like that? thanks

        Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)

        1 Reply Last reply
        0
        • M Madhu Nair 0

          YaronNir wrote:

          is there a way to catch or neutralizer the crash via IWebBrowser2?

          Did you tried catch(...) ? Then NO.

          Y Offline
          Y Offline
          YaronNir
          wrote on last edited by
          #4

          i saw something on MSDN: http://support.microsoft.com/kb/317024[^] but the question is if the page creates iframe within iframe within iframe (which is out of my control) and i place on error at the top of the html (not the inner iframe) will it be caught?

          Interface basics click here : http://www.codeproject.com/com/COMBasics.asp don't forget to vote :)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups