mshtml

Calling ActionScript (Flash) method via mshtml from C#

Hi, I use the WebBrowser component from WPF. I load there a page from Internet and I access the Document property to call my scripts. Unfortunately calling scripts don't work as I need. When I am calling JavaScript methods which exist in JavaScript so it works great but when I need access some methods which are available through Flash s...

Get current style using MSHTML in C#

I want to use MSHTML to get the style of an html element. What I want is the computed style but without all the default values. (only the ones that are set in the html and css) MSHTML has 3 types of styles that I have seen so far style, currentStyle, and runtimeStyle. style and runtimeStyle only has the inline styles and current Style...

How to disable the MSHTML cache in C++ ?

I do not know how to disable the web pages cache in my application which embed a Web Browser thanks to MSHTML. I have googled it... MSDNed it... But still not able to find an answer... Does someone know how to do it ? Thanks in advance for all you answers. EDIT : I now catch the DISPID_AMBIENT_DLCONTROL event in my Invoke() function. ...

Detecting Render Start on Webbrowser Control

Trying to figure out when the webbrowser control starts rendering (displays something) to the end user. Any idea on how to achieve this? ...

Is there a way to programatically insert a Windows Forms control into an MSHTML (WebBrowser) instance?

I have an application that uses an embedded IE through the Windows Forms WebBrowser control. I want to embed some .NET controls into the HTML page. There is old support (since .NET 1.0) to use a special classid in an <object> tag (dllname#controlname) but through experimentation I have found that it only works if the dll is served over ...

How to replace a HTML-tags inner text content using C#!

Hello! Right now I'm working on a Internet Explorer add on which is supposed to scan a HTML-document for URL's in plain text, and then "linkify" them. I have access to the websites DOM, and had an idea to traverse all of the DOM nodes and search for "links" using RegEx, to replace these text with HTML-code, however, when changing the "...

Explorer 7 is stuck on 100% CPU / got stack trace

I surf to a web page (the web page belong to my company...) and my explorer is stuck on 100% (desktop, windows XP, 1.5G, IE7, SP3) I'm not sure I have all the pdb and the information needed but the call stack from analyzed dmp file in dbg is below - does it look familiar msls31!InitGroupChunkExt+0x11a msls31!InitGroupChunkExt+0x25e ...

vb6: click button on HTMLDocument by code and wait for page to be loaded

hi, i'm using the mshtml.tlb for loading/parsing html and i'd like extend it for clicking elements by code. the problem is trapping the loading-process after eg. a button was clicked. in my specific case i'd like to perform a user-login. here's my code: Dim WithEvents m_doc As HTMLDocument ' load page Set m_docNU = New HTMLDocument S...