|
-
May 1st, 2007, 03:05 AM
#1
Thread Starter
Junior Member
VB IE scripting error
I wrote a program that uses IE and every time I visit a webpage I get a javascript scripting error and the msgbox that says "Continue running scripts on this page?" and I need to keep them from showing up as it keeps halting my program. In internet options I have disabled script debugging and unchecked show all scripting errors. Does anyone know how to actually keep IE from showing me these error messages? These errors don't affect the operation of my program other than me having to click yes so I want to block these errors from ever being displayed. Can I set IE to actually ignore these? Can I trap the error within VB and cancel it out or step over it? Anything? Please help it is so annoying.
-
May 1st, 2007, 07:10 AM
#2
Re: VB IE scripting error
You should be able to trap the error from with VB.
Do you get a message box that displays the error?
-
May 1st, 2007, 10:38 AM
#3
Re: VB IE scripting error
Are you actually running IE, or are you running a web browser on your program's form?
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
-
May 1st, 2007, 12:18 PM
#4
Thread Starter
Junior Member
Re: VB IE scripting error
Sorry I should have explained. I'm using the webbrowser control within VB and IE itself is giving me the "Scripting error on this. Continue running scripts?".
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
|