George2
George2

Reputation: 45811

MSHTML tutorial

I want to learn some basics about MSHTML, like how to use IHtmlDocument and IHtmlDocument2 interfaces. I searched for quite a while, but can not find out a tutorial for beginners. Could anyone recommend something to read?

EDIT: I prefer to use C#.

Upvotes: 5

Views: 8607

Answers (3)

Sheng Jiang 蒋晟
Sheng Jiang 蒋晟

Reputation: 15281

There are some tutorials under the "hosting and reuse" section of IE SDK documentation. But I guess you need to read the DHTML tutorials under the HTML/CSS section as well.

Upvotes: 0

John Saunders
John Saunders

Reputation: 161831

If you are using C#, then you should not be using MSHTML. Use the WebBrowser component if you're using Windows Forms, use any of the XML APIs if you're trying to generate HTML (as XHTML). You might possibly want to use an HtmlWriter, but stay away from unmanaged code, if you can help it.


Links:

BTW, MSHTML is not a new thing - it's an old thing. BTW2, is this the George2?

Upvotes: 4

Daniel Rikowski
Daniel Rikowski

Reputation: 72544

When I was learning to use MSHTML I mostly relied on the MSDN documentation and asked specific details in newsgroups and sites like this.

It also helped me alot to download the whole Windows SDK instead of reading online.

Upvotes: 5

Related Questions