Loading HTML into an HTMLDoc problem

J

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
 
C

Cor Ligthert [MVP]

Joe,

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

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top