Page 1 of 1

XbpHtmlViewer and Javascript error

Posted: Sat Aug 20, 2016 3:41 pm
by rdonnay
I'm getting Javascript errors when navigating to the following URL using XbpHtmlViewer or DCHTMLVIEWER:

http://www.worldcat.org/oclc/857966959?referer=xid

The error is "Object doesn't support property or method 'attachEvent'

It appears that IE needs to be run in compatibility mode to prevent this.
Has anyone encountered this problem?

Re: XbpHtmlViewer and Javascript error

Posted: Sun Aug 21, 2016 8:47 am
by rdonnay
After hours of searching on the internet, I found an answer to my problem:

oWebBrowser:silent := .t.