Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MSHTML tutorial [closed]

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#.

like image 868
George2 Avatar asked Mar 21 '09 12:03

George2


2 Answers

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.

like image 91
Daniel Rikowski Avatar answered Dec 09 '22 17:12

Daniel Rikowski


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:

  • WebBrowser Control (Windows Forms)
  • HtmlTextWriter Class (System.Web.UI)
  • http://social.msdn.microsoft.com/Search/en-US/?query=mshtml%20tutorial&ac=1

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

like image 40
John Saunders Avatar answered Dec 09 '22 18:12

John Saunders