J
Jim Hubbard
When using the following code.....
------------------------------------
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Dim HTMLString As String
HTMLString = TextBox1.Text
Dim doc As mshtml.HTMLDocument = AxWebBrowser1.Document()
doc.body.innerHTML = HTMLString.ToString
End Sub
------------------------------------
I get the following error....
------------------------------------
An unhandled exception of type 'System.NullReferenceException' occurred in
InetTesting.exe
Additional information: Object reference not set to an instance of an
object.
------------------------------------
I don't understand what this error is telling me I need to do. (No that
Microsoft errors are cryptic or anything.....)
Thanks for your help!
------------------------------------
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Dim HTMLString As String
HTMLString = TextBox1.Text
Dim doc As mshtml.HTMLDocument = AxWebBrowser1.Document()
doc.body.innerHTML = HTMLString.ToString
End Sub
------------------------------------
I get the following error....
------------------------------------
An unhandled exception of type 'System.NullReferenceException' occurred in
InetTesting.exe
Additional information: Object reference not set to an instance of an
object.
------------------------------------
I don't understand what this error is telling me I need to do. (No that
Microsoft errors are cryptic or anything.....)
Thanks for your help!