Some of you may be interested in the Html Editor which I've posted for download.
It hosts MSHTML as an ActiveX document. Some of the features: - Load a document by assigning an HTML string, read back the (possibly edited) source the same way. - Print method offers print with preview option - Turn on editing with the isDesignMode property. - Demonstrates advanced MSHTML hosting features including print templates, enable or disable context menu, edit designers. - Easy access to the HTML DOM (Document property) - Lots of scope for further customization A lot of work has gone into this, but it could be even better. It was based on code originally uploaded to the ngs, so it's appropriate to hand it back. If the community can make it even better, that would be great; I'll post the updates for download. See also the dedicated discussion forum at the site below. Oh yes, and it's free of course. http://www.itwriting.com/htmleditor/index.php Tim You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
