I've put my HTML into an array then did the following:

Code:
 Dim j As Integer
        WebBrowser1.DocumentText = ""
        While arrCard(j) <> "+++END+++"
            'objStreamWriter.WriteLine(arrCard(j))
            WebBrowser1.DocumentText += arrCard(j)
            j += 1
        End While

        WebBrowser1.Update()
However, nothing happens in the WebBrowser1 control. DocumentText still says "<HTML></HTML> rather than the code I just gave it. It doesn't display the HTML. The only way I can get it to display anything is if I set the URL to a file before I run the program.

Any ideas?