How to overcome Script Error in CHtmlView?
问题 I am using CHtmlView to show HTML pages from online into my application. Whenever the site/page tries to load any '.js' file or script it throws Script Error dialog and unable to load few items from the page. I have made SetSilent(TRUE) to avoid error messages, but still the Script Error occurs without showing the dialog. How can I overcome this problem? 回答1: To avoid JavaScript errors , one must create a value in registry edit under the following registry path, 32-bit : HKEY_LOCAL_MACHINE