Home All Groups Group Topic Archive Search About

Loading HTML into an HTMLDoc problem

Author
7 Feb 2006 9:48 PM
Joe
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

Author
8 Feb 2006 6:24 AM
Cor Ligthert [MVP]
Joe,

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

Cor