FoxPro Programming
oleWebBrowser / Script Errors / IE Compatibility
Gravatar is a globally recognized avatar based on your email address. oleWebBrowser / Script Errors / IE Compatibility
  n/a
  All
  Jun 2, 2015 @ 06:29am
I'm using the oleWebBrowser control in VFP 9.0 under Win 8 and I haev the following problem.

When viewing web pages on the control I occasionnaly get JavaScript Errors which I want repressed.

Facts:
1. Javascript Errors are suppressed in IE under "Internet Options/Advanced"
2. The problems only happens when I run the EXE, it does not happen when I run the code in VFP!
3. I set IE Compatibility to 10000, 10001, 9999 and so on... that seems ot have nop erffect on the problem
4. All used to work fine until a recent routine Windows update.

Any ideas will be greatly appreciated!
Thanks
John


Gravatar is a globally recognized avatar based on your email address. Re: oleWebBrowser / Script Errors / IE Compatibility
  Rick Strahl
  JohnNYC
  Jun 2, 2015 @ 08:01am
A lot of IE settings don't apply to the Web browser control. If I remember right here's a flag property on the Web Browser control that allows ignoring of errors.

+++ Rick ---

Rick Strahl
West Wind Technologies

Making waves on the Web
from Maui

Gravatar is a globally recognized avatar based on your email address. Re: oleWebBrowser / Script Errors / IE Compatibility
  n/a
  Rick Strahl
  Jun 2, 2015 @ 03:36pm
Thanks for the reply but the lIgnoreError var only works for VFP errrors.

The problem is JS Errors. The amazing thing it only happes in the EXE and not from VFP.


A lot of IE settings don't apply to the Web browser control. If I remember right here's a flag property on the Web Browser control that allows ignoring of errors.

+++ Rick ---

© 1996-2024