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.