Bypass Script errors on webbrowsers
Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
when i make web browser i get script errors. any way to by pass them???
i build my own web browser and when i test it i get the error
i start a company for programming, you can find it here http://mostprosperous.webs.com/ try test it and see
so it is IE . you can use gecko its awesome its x10 faster than IE follow this tutorial to use gecko http://adf.ly/DelrG
Find my programs on Softpedia
Change the ScriptErrorsSuppressed propertie on the browser control to True and that should stop those popups. OR via code
Code: Select all
WebBrowser1.ScriptErrorsSuppressed = True
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
CodenStuff wrote:Change the ScriptErrorsSuppressed propertie on the browser control to True and that should stop those popups. OR via codethanks but i use tabcontrol not webbrowser
Code: Select allWebBrowser1.ScriptErrorsSuppressed = True
Use this:
Code: Select all
CType(Tabcontrol1.SelectedTab.Controls.Item(0),WebBrowser).ScriptErrorsSuppressed=True
Bloodz_Ninja wrote:#CodenStuff is correct!CodenStuff wrote:Change the ScriptErrorsSuppressed propertie on the browser control to True and that should stop those popups. OR via codethanks but i use tabcontrol not webbrowser
Code: Select allWebBrowser1.ScriptErrorsSuppressed = True
is isnt the "TabControl" sending the error. It is the WebBrowser Control doing it.
Set the WebBrowser Control to "SuppressError" to True.
wel have dealt with this error type many time before.
Scottie1972 wrote:Bloodz_Ninja wrote:#CodenStuff is correct!CodenStuff wrote:Change the ScriptErrorsSuppressed propertie on the browser control to True and that should stop those popups. OR via codethanks but i use tabcontrol not webbrowser
Code: Select allWebBrowser1.ScriptErrorsSuppressed = True
is isnt the "TabControl" sending the error. It is the WebBrowser Control doing it.
Set the WebBrowser Control to "SuppressError" to True.
wel have dealt with this error type many time before.
Code: Select all
Error 1 'WebBrowser1' is not declared. It may be inaccessible due to its protection level. C:\Users\Jordan\Desktop\TABBED WEBBROWSER\TABBED WEBBROWSER\Form1.vb 36 9 TABBED WEBBROWSER
Copyright Information
Copyright © Codenstuff.com 2020 - 2023