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. Need help for WebBrowser control

Need help for WebBrowser control

Scheduled Pinned Locked Moved C / C++ / MFC
helpcomtoolsquestion
2 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.
  • H Offline
    H Offline
    H4u32
    wrote on last edited by
    #1

    Hello all, I am using webBrowser control for my application. In fact i am trying to build customised browser application. I am able to navigate to any URL using CHtmlView::Navigate method. But not to the URL containing swf file in their url string just like below: http://www.webkinz.com/SWF/setLocale.swf?locale=us_en[^] Above URL gives me IE script error. When i disabled IE Debugging script option in IE's Internet Options Advanced tab, I can navigate to above URL. But what I want is that is there any other way to accomplish this task. I don't want to do it manually.

    R 1 Reply Last reply
    0
    • H H4u32

      Hello all, I am using webBrowser control for my application. In fact i am trying to build customised browser application. I am able to navigate to any URL using CHtmlView::Navigate method. But not to the URL containing swf file in their url string just like below: http://www.webkinz.com/SWF/setLocale.swf?locale=us_en[^] Above URL gives me IE script error. When i disabled IE Debugging script option in IE's Internet Options Advanced tab, I can navigate to above URL. But what I want is that is there any other way to accomplish this task. I don't want to do it manually.

      R Offline
      R Offline
      Rajkumar R
      wrote on last edited by
      #2

      Script error notification is not sent to Exec method of WebBrowser Host[^] should be useful. And that is the reason you can view in IE not in your app(Two options are there Disable Script Debugging (IE and other)) you can change the registry entry programmatically HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Disable Script Debugger and/or DisableScriptDebuggerIE but the above KB link is useful And also [^] and [google^] says the above site address is changed to http://www.webkinz.com/us_en/[^]

      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