- Daniel Vivier
- PowerBuilder
- Thursday, 3 March 2022 04:18 PM UTC
Given what today's Appeon newsletter says, it appears that we will no longer be able to use the MS WebBrowser ActiveX control after sometime in June. (If anyone knows that that is not correct, please let us know!) We use it for significant mail-merge functionality (including for editing templates in DesignMode) in our programs.
Can the new PB Chromium-based WebBrowser control be put into DesignMode using the standard document.DesignMode = "on" method?
I'm worried about having to include that control though in our applications, because it is quite huge (as I recall from looking at it quite a while ago, the required files would add about 90MB to our currently only 30MB program installer!).
So I'm wondering why we wouldn't get as good or better results from just using the MS WebView2 control (the basis of Edge), which is included in Windows anyways, with an ActiveX wrapper. I see there is a commercial such wrapper available at https://webshop.antwise.com/home/10-antview-ms-edge-webview2-activex.html. I haven't figured out how to download an evaluation of it yet but I'm sure it must be way smaller than 90MB! (Yes, we'd have to pay for it, per developer, but it's royalty-free.)
Also, using a wrapper on WebView2 means we would always be accessing the latest MS control rather than the version of Chromium that happens to be included with whichever PB release we are on. That seems like it would also be an advantage.
Your thoughts? Thank you.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.