Skip to Content
author's profile photo Former Member
Former Member

PB12.5 and Microsoft WebBrowser OLE Control - object doesn't support querySelectorAll


I'm trying to run a JasperReport inside PB12.5 application using an Ole control (Microsoft WebBrowser). All works fine until at some point the web control(?) returns error "Object doesn't support property or method "querySelectorAll". The report is a sample report that comes with Jasper.

What I have learned from the web it would be a compatibility issues, IE support s this method first in IE8. When I retrieve the report using e.g. IE10 or Chrome all is fine.

My question is - what options do I have to solve this issue? I don't think that I have the possibility to change users registry so the solution would need to be e.g. that I can the the PB application to use users current default browser or have a web control that I can control (e.g. .Net component that I then could use true "Interop".

The second question to all PB users that use OpenSource Jasper-solutions to do reporting is - what kind solutions have implement and how you you have resolved e.g. sending username/password and parameters to the reports.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jan 09, 2014 at 11:03 PM

    You might want to post this over in the PowerBuilder Developer Center.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 12, 2016 at 05:43 PM

    Hi ...

    Have you specified internet explorer emulation control version ..?

    By default WebBrowser (OLE) control works on a very old (not sure which/what) version, I recomend you to check what version is been emulated.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.