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.
12 posts Page 1 of 2
Contributors
User avatar
Bloodz_Ninja
Dedicated Member
Dedicated Member
Posts: 69
Joined: Sat Aug 25, 2012 3:20 am

when i make web browser i get script errors. any way to by pass them???
User avatar
Shim
VIP - Donator
VIP - Donator
Posts: 882
Joined: Wed Dec 14, 2011 5:02 am

do use IE ? or what ? :)
Find my programs on Softpedia
User avatar
Bloodz_Ninja
Dedicated Member
Dedicated Member
Posts: 69
Joined: Sat Aug 25, 2012 3:20 am

i build my own web browser and when i test it i get the error
User avatar
Bloodz_Ninja
Dedicated Member
Dedicated Member
Posts: 69
Joined: Sat Aug 25, 2012 3:20 am

i start a company for programming, you can find it here http://mostprosperous.webs.com/ try test it and see
User avatar
Shim
VIP - Donator
VIP - Donator
Posts: 882
Joined: Wed Dec 14, 2011 5:02 am

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
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

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.
User avatar
Bloodz_Ninja
Dedicated Member
Dedicated Member
Posts: 69
Joined: Sat Aug 25, 2012 3:20 am

CodenStuff wrote:
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
thanks but i use tabcontrol not webbrowser
User avatar
comathi
Coding God
Coding God
Posts: 1242
Joined: Fri Mar 26, 2010 1:59 pm

Use this:
Code: Select all
CType(Tabcontrol1.SelectedTab.Controls.Item(0),WebBrowser).ScriptErrorsSuppressed=True
User avatar
Scottie1972
Codenstuff Elite
Codenstuff Elite
Posts: 953
Joined: Thu Jan 14, 2010 5:48 am

Bloodz_Ninja wrote:
CodenStuff wrote:
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
thanks but i use tabcontrol not webbrowser
#CodenStuff is correct!
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.
Image
User avatar
Bloodz_Ninja
Dedicated Member
Dedicated Member
Posts: 69
Joined: Sat Aug 25, 2012 3:20 am

Scottie1972 wrote:
Bloodz_Ninja wrote:
CodenStuff wrote:
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
thanks but i use tabcontrol not webbrowser
#CodenStuff is correct!
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
12 posts Page 1 of 2
Return to “Tutorial Requests”