1. Ronnie Po
  2. PowerBuilder
  3. Friday, 25 August 2023 22:16 PM UTC

According to the documentation for PowerBuilder 2022 R2 Build 2819, the following runtime files are required for WebBrowser support:

 

pbwebbrowser.dll, webbrowserapi.tlb, and "PBWebView2" folder

"PBWebView2" folder is required for WebView2 Runtime Fixed Version.

 

I can't find a PBWebView2 folder in any of the usual installed locations. Did the installer fail, or was this requirement removed from the latest R2 release?

Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 29 August 2023 00:49 AM UTC
  2. PowerBuilder
  3. # 1

The Application properties window can also set the Evergreen/Fixed option. This seems to be the only place where the download URL is mentioned.

Comment
  1. Ronnie Po
  2. Tuesday, 29 August 2023 03:10 AM UTC
Thanks, Roland. I hadn't even gotten around to poking around the IDE. Was just doing a quick migration of an existing 2022 app to 2022 R2 and was packaging it for runtime testing when I noticed the "missing" PBWebView 2 folder.
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 29 August 2023 00:44 AM UTC
  2. PowerBuilder
  3. # 2

The WebBrowserSet control method can be used to switch between Evergreen and Fixed. The help doesn't really spell it out but Evergreen means it uses the version included with Windows and Fixed is a version installed with the application.

This is from the 'PowerBuilder runtime files' help topic:

Comment
There are no comments made yet.
Tobias Roth Accepted Answer Pending Moderation
  1. Saturday, 26 August 2023 14:53 PM UTC
  2. PowerBuilder
  3. # 3

Hi Ronnie,

the PBWebView2 folder is the folder of the fixed version.

  1. Download the desired fixed version at: https://developer.microsoft.com/en-us/microsoft-edge/webview2/
  2. The folder which is in the archive can then be extracted and renamed as PBWebView2.

I hope I could help you

Regards Tobi

Comment
  1. Ronnie Po
  2. Monday, 28 August 2023 20:44 PM UTC
Hi Tobi,



Thank you for your response, and for the link. I'm curious why this information is not provided in the documentation.
  1. Helpful
  1. Tracy Huang @Appeon
  2. Tuesday, 29 August 2023 01:49 AM UTC
Hi Ronnie,



FYI. The following link talks about WebBrowser (the new WebView2 engine).

https://docs.appeon.com/pb2022r2/pbug/Working_with_WebBrowser.html





Regards

Tracy
  1. Helpful
  1. Ronnie Po
  2. Tuesday, 29 August 2023 03:06 AM UTC
Thank you, Tracy.
  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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.