C# webBrowser script error

后端 未结 6 1173
孤城傲影
孤城傲影 2021-01-02 15:08

I keep getting a script error when trying to load the page using webBrowser.Navigate(\"https://home.nest.com/\"). It will pull up fine from my normal internet

6条回答
  •  臣服心动
    2021-01-02 15:57

    You should add your program name to the register HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION for using the latest feature as same as your normal internet browser.

    as for me, value 8000 (0x1F40) - IE8 mode can solve many script error problem.

    Ref:

    Use latest version of Internet Explorer in the webbrowser control

提交回复
热议问题