Does WinForms WebBrowser management support mhtml content specified by the DocumentText property?

Or, if any authority is aware of the alternative controls that it does?

It would be convenient to serve the contents of the WebBrowser control, which has embedded images and other resources from the database, regardless of these resources hosted on the web server, or to create temporary files on the local file system.

Does mhtml support this, but does not work in the WebBrowser control when using the DocumentText property?

+3
source share
5 answers

, , , DocumentText. MHTML - , , .., base64, , , DocumentText webbrowser, . Reflector, , , Url, "" webbrowser COM-.

, , DocumentStream.

+2

, .

:

this.webBrowser1.Url = new System.Uri(@"C:\TempFiles\MyTest.mht");

, , ?

+1

(, ), , :

< img src= "res://yourdll.dll/image.jpg" / >

: http://www.delphidabbler.com/articles?article=10

vb6 , .

0
0

Source: https://habr.com/ru/post/1698503/


All Articles