Advertisement Jump to content
Sign in to follow this  
Telamon

[.net] Internet Explorer HTML Control

This topic is 4893 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

If I use the Microsoft.mshtml control in my C# program, what dependencies am I adding? Will my end user need to have IE? A particular version of IE? Anything not installed on 2000/XP by default? Is there a better control to use to render HTML that has fewer dependencies? There should really be a replacement for the RichEditBox control that uses HTML as the underlying markup instead of some archaic nastiness that makes it hard to do things like embed images. [Edited by - Telamon on August 25, 2005 12:22:42 PM]

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
If you want dodgy html rendering go right ahead. IE has been tied to windows ever since win98

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Mmm, dodgy rendering - the very best kind.

Now for a useful answer: If you're on .NET 1.1, you'll need to include the very heavy interop assembly.

If you're just rendering HTML, all your end-users will need is "Mshtml" - I believe all the latest platforms shipped with it by default. 2000/XP out of the box should work fine.

Share this post


Link to post
Share on other sites
If you are just after the HTML Parser/DOM then I heartily reccomend The HtmlAgilityPack assembly. Its source code is provided and is very very (very) nice.

http://blogs.msdn.com/smourier/archive/2003/06/04/8265.aspx

Neil

(edit : and it doesnt rely on mshtml at all).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!