ihtmldocument

MSHTML tutorial

Hello everyone, 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#. thanks in advance, George ...

Using IHTMLDocuments 1, 2, 3 & 4

I am using a web browser in my current project and currently im using it in design mode to make it editable etc. The code i am currently using is: WebBrowser.Document.DomDocument as IHTMLDocument2 What actually is an IHTMLDocument2, 3 or 4? I have also found that when identifying a current selection range in the document, the range.t...

When using Microsoft Html Control the ReadyState never gets further than Interactive

We are using the Microsoft MSHtml control to render and modify web pages, we have today deployed to Citrix and found that the document state often does not get any further than interactive while we are expecting it to get to completed. We are using c# and we do have a UI, like i said in my question this is an intermittant issue. Even wh...

IHTMLElement2.getBoundingClientRect() does not work correctly.

Hi all, The getBoundingClientRect() does not work accurately for all cases. It fails when say a list of links that are side by side in a row and half of them are pushed to the next line because all the links cannot be fit into the same line. Now for the first link at the 2nd line the getBoundingClientRect() does not give correct results...

Create Protected Nodes when using webbrowser / IHTMLDocument2 in c#

Hey all, I am working a project in C# that allows the user to edit a webpage. It is using mshtml for the editor. I'm looking for a way to protect a couple of table cells. Basically they can edit everything except what is in the specified table cell. The user does not have access to the source code of the webBrowser. Thanks for any ins...