Need help for WebBrowser control
-
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.
-
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.
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/[^]