![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 3 of 3 total |
![]() |
Fri, Apr 9 2021 5:47 PM | Permanent Link |
Trinione | 🤔 How to use Delphi to create a single exe file from the generated EWB js and html files, with ability to :
(1) run in MS WebView2 runtime? {2} Run in embedded OS browssr (Edge in Windows) ........................................................ PascalNetwork.com pascal - the language we love |
Fri, Apr 9 2021 8:04 PM | Permanent Link |
erickengelke | Trinione wrote:
>🤔 How to use Delphi to create a single exe file from the generated EWB js and html files, with ability to : > >(1) run in MS WebView2 runtime? >{2} Run in embedded OS browssr (Edge in Windows) The only way I know how to do this is to create a PWA (progressive web app). EWB can generate one, but it's not intiutiitve. You need to hand edit the HTML, add a manifest, add a service worker, etc. so it's not currently for the faint of heart. Elevate will probably add the capability sometime, but right now it's too much work to describe and frustrating to debug due to caching issues. Erick EWB Programming Books and Component Library http://www.erickengelke.com |
Mon, Apr 12 2021 10:32 AM | Permanent Link |
Matthew Jones | Trinione wrote:
> 🤔 How to use Delphi to create a single exe file from the generated EWB js and html files, with ability to : > > (1) run in MS WebView2 runtime? > {2} Run in embedded OS browssr (Edge in Windows) I did something like that a few years ago using the Chromium engine as the browser component. Worked quite well. It's a bit too complicated to say "how" in detail, but you just hook the required calls for the browser and then tell it to load index.html. The hooks then fire to say "we need index.html" and instead of going over the web, you return the static data for the page. Then it will ask for the javascript and other files, and you again return the required info. Not hard if you have a decent logging solution (like Raize Codesite - is that still available?). -- Matthew Jones |
This web page was last updated on Saturday, June 3, 2023 at 10:17 AM | Privacy Policy![]() © 2023 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |