IE

IE

Postby Natter » Tue May 24, 2022 4:32 pm

Hi,

I completely forgot that Microsoft will disable IE on June 15. And I have a large application (xHarbour/BCC7) using ActiveX IE. Then I can take action !
Natter
 
Posts: 1226
Joined: Mon May 14, 2007 9:49 am

Re: IE

Postby hmpaquito » Tue May 24, 2022 8:15 pm

hmpaquito
 
Posts: 1482
Joined: Thu Oct 30, 2008 2:37 pm

Re: IE

Postby Natter » Tue May 24, 2022 8:35 pm

Thanks. I want to try webview.dll However, there are questions :
1. Where to download webview.dll ?
2. Is it possible to get the page as document ?
3. How to build a program with support webview.dll ?
Natter
 
Posts: 1226
Joined: Mon May 14, 2007 9:49 am

Re: IE

Postby Jimmy » Tue May 24, 2022 9:09 pm

hi

search in FiveWin Forum for WebView2.
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: IE

Postby Natter » Wed May 25, 2022 3:56 am

Yes, I read this forum, but I didn't find any answers to my questions in it :(
Natter
 
Posts: 1226
Joined: Mon May 14, 2007 9:49 am

Re: IE

Postby Jimmy » Wed May 25, 2022 5:32 am

hi,

Antonio have made a "Wrapper" for FiveWin from WebView2 which is the "Engine" of EDGE

you need to download "MicrosoftEdgeWebview2Setup.exe"
you have to search in FiveWin Forum for BCC ".Lib" while i use HMG and MinGW ".a"

as i only have run some Demo under HMG i can tell you more, sorry
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: IE

Postby Natter » Wed May 25, 2022 6:29 am

I read the topic Using WebView with Borland !!!

viewtopic.php?f=3&t=41143&hilit=Webview2&start=75

There Antonio shows the usage webview.dll
#include "hbdyn.ch "
plib := hb_LibLoad( "webview.dll" ).
Only I didn't understand how to compile
Natter
 
Posts: 1226
Joined: Mon May 14, 2007 9:49 am

Re: IE

Postby Antonio Linares » Wed May 25, 2022 11:05 am

Dear Natter,

What issues do you have to compile it ?

Please post here the output ? Do you get errors ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: IE

Postby Natter » Wed May 25, 2022 11:29 am

Antonio, I don't have any mistakes yet!
I just wanted to ask :
1. where can I download webview.dll ?
2. How to compile via VS or via BCC7 ?
Natter
 
Posts: 1226
Joined: Mon May 14, 2007 9:49 am

Re: IE

Postby Antonio Linares » Wed May 25, 2022 11:47 am

Dear Natter,

First you have to download and install this:
https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section

Second, you have to download this webview.dll:
https://github.com/FiveTechSoft/FWH_tools/blob/master/webview.zip

Working example:
viewtopic.php?p=248148&sid=de65bf49536f575693b46c9b8767215d#p248148

You can use Borland or MSVC to build it. Whatever you prefer
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: IE

Postby Natter » Wed May 25, 2022 11:59 am

Edited: Fixed in the previous post

When I try to go to this address, I get a 404 error
https://github.com/webview/webview/tree/master/dll/x86
Natter
 
Posts: 1226
Joined: Mon May 14, 2007 9:49 am

Re: IE

Postby Antonio Linares » Wed May 25, 2022 12:41 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: IE

Postby Natter » Wed May 25, 2022 1:20 pm

Thanks, I downloaded everything. In IE, using the :GetProp("documet") method I could get the document of the open page. Is it possible to do this with webview ?
Natter
 
Posts: 1226
Joined: Mon May 14, 2007 9:49 am

Re: IE

Postby Antonio Linares » Wed May 25, 2022 2:55 pm

First of all, is it working fine for you ?

Next, please explain what you need with more detail, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42203
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: IE

Postby Natter » Thu May 26, 2022 12:02 pm

Installed Microsoft.WebView 2.Fixed Version Run time.101.0.1210.53.x86
Downloaded an example. Example works well.
Reassembled webview.prg (BCC7, FWH2012, 32)
When starting, an empty window appears for 3 seconds. Then the program closes without an error. (I tried both under Harbour and under xHarbor)
Natter
 
Posts: 1226
Joined: Mon May 14, 2007 9:49 am

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 75 guests