JS error Vb.net embedded browser -
i have program embedded browser. when try load site, (motdgd.com) throws error
the value of property 'atob' null or undefined not function object
line 101 char 5
i have searched extensively, cannot find answer.
public class form1 dim count integer dim adlink string private sub webbrowser1_documentcompleted(sender object, e webbrowserdocumentcompletedeventargs) handles webbrowser1.documentcompleted end sub private sub button1_click(sender object, e eventargs) handles button1.click count = 1 userlink = textbox1.text label1.text = userlink webbrowser1.url = new uri(userlink) end sub private sub label2_click(sender object, e eventargs) handles label2.click end sub end class
solved
initializecomponent(); registrykey key = registry.currentuser.opensubkey(@"software\microsoft\internet explorer\main\featurecontrol\feature_browser_emulation", true); key.setvalue(system.diagnostics.process.getcurrentprocess().processname + ".exe", 11999, registryvaluekind.dword); key.close();
will force ie11 run, via registry
Comments
Post a Comment