Guest User

Untitled

a guest
Jan 22nd, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. String strHtml = _browser.Document.Body.OuterText;
  2. File.WriteAllText("C:saveme.html", strHtml);
  3.  
  4. Exception:: Specified cast is not valid.
  5. at System.Windows.Forms.UnsafeNativeMethods.IHTMLDocument2.GetLocation()
  6. at System.Windows.Forms.WebBrowser.get_Document()....
Add Comment
Please, Sign In to add comment