|
-
Dec 17th, 2009, 06:53 PM
#1
Thread Starter
Member
error in page for webbrowser control
Hello,
I am navigating to a web page with my webbrowser control
Dim myWBP As New WebBrowser
myWBP.Navigate(strThePageToOpen)
and this works on most pages. Now I'm going to a page that I guess there are errors in the page and I get a box asking me if I want to debut in IE's built in script debugger or something to that effect.
Is there any way to have the system ignore this message and continue to load the page as normal as I just click cancel it continues to load the page with no problem
Thanks again for all your assistance.
Mythos
-
Dec 17th, 2009, 07:30 PM
#2
Re: error in page for webbrowser control
you can try this, use it before you load the page:
Code:
myWBP.Silent = True
* Rate It  If you Like it
__________________________________________________________________________________________
" Programming is like sex: one mistake and you’re providing support for a lifetime."
Get last SQL insert ID 
-
Dec 17th, 2009, 07:32 PM
#3
Thread Starter
Member
Re: error in page for webbrowser control
It says silent is not a member of the webbrowser.
-
Dec 17th, 2009, 07:35 PM
#4
Thread Starter
Member
Re: error in page for webbrowser control
Okay found it
myWBP.ScriptErrorsSuppressed = True
This works great thank you so much.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|