1. Robert Kratschmann
  2. PowerBuilder
  3. Friday, 25 May 2018 08:21 AM UTC

Hi,

In a PB12.x made application an OLE control will be used to embed Internet Explorer into a window. Today (Windows 10) Internet Explorer and OLE controls are not really up-to-date. At the moment customer is starting with PB 2017 R2 and wants to have a modern alternative. PB is not offering a visual browser control and Httpclient is nonvisual. What alternatives do they have if Edge, Chrome or Firefox are possible?

Many thanks

Robert

Jeff Kandt Accepted Answer Pending Moderation
  1. Friday, 25 May 2018 18:04 PM UTC
  2. PowerBuilder
  3. # 1

I'm also interested in any suggestions for OLE WebBrowser alternatives, because IE is not exactly a top-of-the-line browser, but I wanted to make sure you know about the registry keys you can add that affect the behavior of the WebBrowser control within your specific application, so that at least you're getting the most out of it.

In particular the FEATURE_BROWSER_EMULATION "Feature Key" can upgrade the control's functionality to a more modern version of IE.

If you don't set this key, by default the WebBrowser emulates IE7(!) which can be problematic on a lot of sites.

We recently had to use this ley when a site we were loading started rejecting requests from browsers older than a certain vintage. Our control now presents itself to the server and renders pages like IE11.

There are also many other Feature Keys that can be used to tweak how the control behaves.

Comment
  1. David Peace (Powersoft)
  2. Tuesday, 29 May 2018 15:22 PM UTC
Useful tip Jeff :)

  1. Helpful
There are no comments made yet.
Yuri Denshchik Accepted Answer Pending Moderation
  1. Friday, 25 May 2018 21:06 PM UTC
  2. PowerBuilder
  3. # 2

I think Microsoft has  monopoly on Web controls for Windows. From one hand it works pretty well even with complex content.  The drawback is a dependency on IE settings. For sites with very high security for IE settings that could be a problem

 

Comment
  1. Yuri Denshchik
  2. Friday, 25 May 2018 23:32 PM UTC
Check that out, may be that is what you need:



https://www.webkitx.com/



 

  1. Helpful
  1. Roland Smith
  2. Saturday, 26 May 2018 01:43 AM UTC
This looks very interesting as it is an ActiveX control wrapper for the open source version of the Chrome browser. The cost is 399 pounds which is currently 531 US Dollars. It also lists PowerBuilder as a supported programming language.

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.