|
-
Nov 10th, 2000, 10:17 AM
#1
Thread Starter
New Member
Hi,
I am making a simple browser based on the webbrowser control. Whenever I navigate to certain sites, like msnbc.com, I get an Internet explorer script error, and this error screws up my browser window.
However, if I use Internet Explorer, there is no problem.
What do I need to set or add to my code to handle such an error? Can someone help please?
E-mail: [email protected]
“If the Answer to the Ultimate Question of Life, the Universe, and Everything is 42, what’s the question?”
-
Nov 15th, 2000, 12:18 PM
#2
Thread Starter
New Member
Well, I discovered that if I put cancel = True in NewWindow2 that stops the error, but unfortunately it stops legitimate popup windows associated with some links...
so I tried this:
On Error GoTo err
Exit Sub
err:
Cancel = True
which seems to catch the error (even though it's a script error on the page and not in the program!?!?!)
and allows some popups...and the occasional error still manages to rear it's ugly head.
Just offering this to anyone who may have an idea as to what is going on, or what else i could do, since it's been awhile and no one has replied to this one yet...
E-mail: [email protected]
“If the Answer to the Ultimate Question of Life, the Universe, and Everything is 42, what’s the question?”
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
|