Groups | Blog | Home
all groups > dotnet interop > may 2006 >

dotnet interop : HtmlEditor update



Ignacio Machin ( .NET/ C# MVP )
5/19/2006 8:40:46 AM
HI Tim,

Usually an announcement post is preceded with an ANN prefix in the subjetc.


--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

[quoted text, click to view]

Ignacio Machin ( .NET/ C# MVP )
5/19/2006 11:16:45 AM
Hi,

Opps, sorry I did not read the last sentence

And no, I don;t know how to do so. and frankly don't think that the
unmanaged DOM keeps a reference to the containing HtmlDocument


--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

Tim Anderson
5/19/2006 1:01:50 PM
I've posted an update to the HtmlEditor - hosts Msthml in C#. I've removed
the dependency on Microsoft.mshtml. See here:

http://www.itwriting.com/htmleditor

It would be nice to be able to use the DOM in System.Windows.Forms with the
control. You can easily get the unmanaged DomDocument from a managed
HtmlDocument. Does anyone know a way to do the opposite?

Tim
Tech blog: http://www.itwriting.com/blog

Tim Anderson
5/19/2006 1:44:18 PM
[quoted text, click to view]

Well, it was a question as well as an ANN. Any ideas?

Tim
Tech blog:
http://www.itwriting.com/blog

Tim Anderson
5/19/2006 4:53:54 PM
[quoted text, click to view]
in message news:eNuQ$c1eGHA.1324@TK2MSFTNGP04.phx.gbl...

[quoted text, click to view]

The unmanaged DOM has no knowledge of any .NET classes. However I'd have
thought there could be a constructor somewhere that creates a managed
HtmlDocument from a reference to an unmanaged HTMLDocument, without actually
displaying it in the WebBrowser control.

Tim
Tech blog: http://www.itwriting.com/blog

AddThis Social Bookmark Button