Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Saving HTML

$
0
0

i used the following code to save an html from webbrowser

File::WriteAllText(saveFileDialog1->FileName,webb->Document->Body->Parent->OuterHtml,Encoding::GetEncoding(webb->Document->Encoding));

but the saved html file didn't contain any of the images.

I tried using WriteAllBytes instead of WriteAllText but i didn't know how to use it.

Someone please help.


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>