browser component
-
Hi I am using browser component in my application which is in C#.net 1.1 Windows application private AxSHDocVw.AxWebBrowser axWebBrowser1; and i have set all the properties for it it gives me error as an error has occured in the script on this page. Line: 1 Char: 1 Error: Object Expected Code: 0 URL: http://in.msn.com/default.aspx?froo=www do you want to continue running scripts on this page? yes no I have navigated by string str1 = ComboAddress.Text; object tmp = (object)str1; object null_obj_str = ""; System.Object null_obj = 0; axWebBrowser1.Navigate2(ref tmp , ref null_obj, ref null_obj, ref null_obj_str, ref null_obj_str); how do i go about with this problem and i want allow popups also? can any 1 help?
-
Hi I am using browser component in my application which is in C#.net 1.1 Windows application private AxSHDocVw.AxWebBrowser axWebBrowser1; and i have set all the properties for it it gives me error as an error has occured in the script on this page. Line: 1 Char: 1 Error: Object Expected Code: 0 URL: http://in.msn.com/default.aspx?froo=www do you want to continue running scripts on this page? yes no I have navigated by string str1 = ComboAddress.Text; object tmp = (object)str1; object null_obj_str = ""; System.Object null_obj = 0; axWebBrowser1.Navigate2(ref tmp , ref null_obj, ref null_obj, ref null_obj_str, ref null_obj_str); how do i go about with this problem and i want allow popups also? can any 1 help?
in .net 2 webbrowser control, there is a property named "ScriptErrorsSurppressed". maybe there is similar in AxWebBrowser?