When you do this with the MS equivalent (AxWebBrowser) it re-interprets the code and adds a lot of deprecated attributes. I would hope the Mozilla doesnt do the same on valid HTML but will have to fix the invalid. If you want to get the exact contents of the original file:
Imports System.Net Dim wrq As WebRequest = WebRequest.Create(currentPage) Dim proxy As WebProxy = New WebProxy(Me.tbProxy.Text, True) Dim cred As NetworkCredential = New NetworkCredential(Me.tbUser.Text, Me.tbPwd.Text, Me.tbDomain.Text) proxy.Credentials = cred wrq.Proxy = proxy Dim wrs As WebResponse = wrq.GetResponse Dim strm As Stream = wrs.GetResponseStream Dim sr As StreamReader = New StreamReader(strm) htmlText = sr.ReadToEnd after Document_Complete _______________________________________________ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding