Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there any HTML viewer left for VFP to use?
Message
From
16/03/2024 19:08:49
 
 
To
16/03/2024 18:25:22
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01687701
Message ID:
01687742
Views:
43
>>>>Is there any HTML viewer left for VFP to use now that IE is dead and gone?
>>>Check Antview ( MS Edge WebView2 ActiveX control)
>>>https://antview.dev/
>>>The download comes with a vfp sample form.
>>
>>Hi Marco,
>>
>>Interesting... Seems they created a wrapper around MS CEF/Webview2 link.
>>They mention it works ONLY asynch - must read the pieces on West-Wind again.
>>AFAIR switched Rick over from synch to asynch but had intermittend problems,
>>which had NOT surfaced in synch mode, but synch created too many wait states.
>>
>>Have you checked it out ? If so, please share a bit...
>>Same goes for everybody else playing with that -
>>although I wonder if they had tougher use cases than Rich with his
>>Markdown Monster and Websurge.
>>
>>If somebody needs some web/JS automation done with that,
>>and is not under pressure of delivery ASAP:
>>I am tempted to test capabilities and danger areas there,
>>as I had a ball automating old Trident for more than a dozen years
>>around W2K but then spent a few years coding in insurance and banking.
>>
>>And current stuff is drab enough to thirst for some other areas
>>just to keep coding and researching muscles tuned.
>>
>>thx for the tip - now 3 possible ways to skin such cats.
>>thomas
>
>Hello Thomas, I have not really "evaluated it" ( just did the basic test and saw it works as modern compatible viewer you can embed in vfp ) - it was mentioned on foxite last week or so .. maybe you can ask Kennet and Bernard on this thread ( https://www.foxite.com/archives/0000499132.htm ).
>
>You can also check "Webkit Activex" at https://www.webkitx.com/doc/light/About.html
>they have many step by step guides, including one for vfp9: https://www.webkitx.com/doc/light/Getting%20Started%20with%20FoxPro%209.html
>
> not certainly free, but the fact it ( says ) it can ( among many many other features ) do:
>
>PDF Viewer - can view PDF files
>Save HTML as PDF and Printing HTML & Markup features
>CallByName JavaScript functions from executable
>JavaScript Callbacks, calling JavaScript functions on a specific V8 Context, from Native code
>
>makes it a very attractive tool for the price.

If it is solid, it is cheap - I spent weeks with IE3, Ken's somewhat sloppy code
and the minimal COM interfaces back then. IE4 was workable and lead
to the only book deal I was ever offered. IE5 gave solid returns,
with IE6 the problem of runaway memory, synching MT scraping either on Threads
or Processes became a thing...

I will read Ricks stuff again and then follow the Threads and leads you offered -
Sunday procrastinating is guaranteed!

If you have followed Rick wrestling with WebView2 and MM
you will understand my scepticism that those controls will not barf
when 2 different runtimes each with garbage control need to flag
returns from asynch (without semaphores to make it secure bur sloooow)

thx & best regards
thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform