I want to make an application that display my website but I'm having some script errors and if I ignore them the website is not complete how can I fix it? I tried this but the website is not complete.
var appName = Process.GetCurrentProcess().ProcessName + ".exe";
using (var Key = Registry.CurrentUser.OpenSubKey(@"SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION", true))
webBrowser1.ScriptErrorsSuppressed = true;
webBrowser1.Navigate("site");
Aucun commentaire:
Enregistrer un commentaire