Is there an alternative to mshtml?
-
Is there any other HTML rendering engine around? Preferrably one written in .NET? Sammy "A good friend, is like a good book: the inside is better than the cover..."
-
Is there any other HTML rendering engine around? Preferrably one written in .NET? Sammy "A good friend, is like a good book: the inside is better than the cover..."
I've heard that Mozilla's rendering engine can be used inside an application, but I do not know if it can be used easily from .NET. Have a look on google to see what you can find. John
"You said a whole sentence with no words in it, and I understood you!" -- my wife as she cries about slowly becoming a geek. -
I've heard that Mozilla's rendering engine can be used inside an application, but I do not know if it can be used easily from .NET. Have a look on google to see what you can find. John
"You said a whole sentence with no words in it, and I understood you!" -- my wife as she cries about slowly becoming a geek.No it couldn't. Mozilla didn't license Microsoft COM and instead came up with their own. It's very similar in concept (
nsISupports
is analagous toIUnknown
and has three similar methods), but it's still not COM. You'd would have to P/Invoke the entire NSCOM (goes by a different name, but I can't remember it off the top of my head) framework and that would be an EXTRAORDINARY amount of work just to manipulate elements within. The rendering engine itself can be embedded in an OLE container, though.Microsoft MVP, Visual C# My Articles