EDIT: Look at Jorn's approach.
I use the strategy suggested here: http://cc.embarcadero.com/Item/23992 to get my HTML in TWebBrowser, but I get a bunch of JavaScript errors when loading the page. If I click yes enough, I see the page without formatting, and I assume the page does nothing.
My theory is that since the links in HTML are relative, the browser cannot load any of them. I have a transition from passing the "about: blank" URL to the navigation function, to transfer the servers homepage - in the hope that some kind of internal mechanism will be able to generate full paths, but no luck.
Any of them was able to successfully write the HTML file for writing to TWebBrowser manually.
source
share