I have the following code (vb.net 2010 express):
Dim doc As mshtml.HTMLDocument
doc = CType(axWebBrowser1.Document, mshtml.HTMLDocument)
Dim sHTML(0) As String
sHTML(0) = script(e.Node.Index).branch_text
sHTML = Nothing
and I'm getting a type mismatch on the doc.write command. I also tried Dim sHTML() as Object = ...branch_text but the same results. The WebBrowser1 object is from the axSHDocVw.dll.
I can't seem to get the right combination of things to get this to work Please Help.