|
-
Feb 17th, 2007, 12:51 AM
#1
Thread Starter
Lively Member
[RESOLVED] WebBrowser issues. suggest please.
Hi,
I added a a web browser control. Now when I open a site, it has "javascript" errors on it. So the WebBrowser keeps prompting. To stop the prompting I added:
Now it doesn't prompt, instead it automatically opens the debugger. When I close the debugger, the program crashes.
Is there a way to trap the javascript errors on the loading page and silently append them to a text file, instead of opening the debugger or prompting? And then continue with the loading of the rest of the page.
I can write the code to append to text file, but how to trap the error and store in a variable?
Thanks
Thank you 
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
|