Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Microsoft Web Browser OLE control and JavaScript errors – PB Docs 2022 – PowerBuilder Library

Microsoft Web Browser OLE control and JavaScript errors – PB Docs 2022

Microsoft Web Browser OLE control and JavaScript errors

Symptom

When using the Microsoft Web Browser OLE control in a PowerBuilder
application some webpages show JavaScript errors, is there a way to
eliminate these?   

Environment

  • PowerBuilder

  • PowerBuilder application with a Microsoft Web Browser OLE
    control  

Cause

The Microsoft Web Browser OLE control is a third party control and
the errors can be replicated with other tools.   Please refer to the
Microsoft site for further information on this control.

Solution

To suppress the JavaScript errors in your
PowerBuilder application, use ole_1.object.silent=1 before
navigate().  Code snippet below:

This will not eliminate the root cause of the JavaScript
errors, the additional line of code just suppresses the errors.  


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x