Hi,

I am getting an error on the last line it gives a runtime error "91" with the message object variable or with block variable not set. I get this with just a form and the webbrowser control. And following code at form load:

WebBrowser1.Navigate2 "about:blank"
Dim strHTML As String
strHTML = "Your HMTL Code Here"
WebBrowser1.Document.Body.Innerhtml = strHTML

This happends on 2 different computers one with nt4 and the other with win2000. Vb version is 6. One with sp3 and the other with no sp. Both using internet explorer 5.

Would be great if somebody would have an answer to this.
Greatone