Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert html text to plain asci
Message
From
15/02/2022 11:22:34
 
 
To
11/02/2022 10:39:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01683547
Message ID:
01683572
Views:
50
>Hi, I have a source string that is html format, but it should be stored and displayed in a regular memo. Therefore I need to convert the html to just plain text. Anybody has done that before? I could probably use Shell.Explorer, but only if I don't find a more straightforward way.

old WebBrowser or InternetExplorer.Application was able to do that, but feeding old dogs new HTML might create own fleas. First option to check for me would be to look at methods implemented on WebView2 (which uses Chromium based Edge to replace WebBrowser functionality for current web sites using Javascript not supported in Trident based WebBrowser) - in MS docs and on Ricks site.... As alternative you could work via Selenium, which offers less methods but more browsers, including Firefox.

HTH
thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform