Groups | Blog | Home
all groups > vb.net upgrade > february 2006 >

vb.net upgrade : Loading HTML into an HTMLDoc problem


Joe
2/7/2006 4:48:56 PM
I am trying to load some HTML code in a string variable into a
mshtml.HTMLDocument object. I want to do that so I can access the various
tags and structures (<table>, <a>, using VB.NET code)

So is there a good way to load HTML to an object and access its parts with
VB.NET ?
I have an error with the following code. It says the second line is set to
null:

Dim hDoc As New mshtml.HTMLDocument


hDoc.body.innerHTML = strDataEarn



Cor Ligthert [MVP]
2/8/2006 12:00:00 AM
Joe,

I have sent you a sample in your other message. Please don't reply on other
lines.

Cor

AddThis Social Bookmark Button