Questions tagged [microsoft.mshtml]

MSHTML (also known as Trident ) is a proprietary layout engine for the Microsoft Windows version of Internet Explorer, developed by Microsoft.

MSHTML (also known as Trident ) is a proprietary layout engine for the Microsoft Windows version of Internet Explorer, developed by Microsoft.

It was first introduced with the release of Internet Explorer version 4.0 in October 1997; it has been steadily upgraded and remains in use today. For versions 7 and 8 of Internet Explorer, Microsoft made significant changes to the Trident layout engine to improve compliance with web standards and add support for new technologies.

40 questions
0
votes
1 answer

How can I close the newly opened Internet Explorer using the mshtml (c# code)

I want to close a newly opened internet Explorer window using the mshtml (c# code). I used the Mshtml with the instance of Ie and navigated through a url and clicked on a link. Once i click the link , i am getting the document opened in a new…
Unni Krishnan
  • 94
  • 3
  • 9
0
votes
0 answers

C#/MSHTML - HTMLInputElement click() method is stuck in an infinite loop when using on an input element of type "file"

I am using MSHTML in automation IE. One of my requirements is to upload a file, and I am able to click the Browse button using the click() method HTMLInputElement. However, after calling click(), the program does not exit the said method and it is…
thecodeexplorer
  • 363
  • 1
  • 6
  • 18
0
votes
1 answer

How to get image size on random page using C# with MSHTML?

I am trying to retrieve images on the page using mshtml. Working on 2 different machines (both Win7-64 bit) gives me different results. One of the machines works just fine. The second one, though, is unable to read the width/height attribute of…
UrK
  • 2,191
  • 2
  • 26
  • 42
0
votes
1 answer

mshtml.IHTMLElement getAttribute erratic behaviour

In an application, I am using mshtml.IHTMLElement.getAttribute(mimetype) to extract the mimetype within a mshtml.HTMLDocument. Example: www.mywebsite.com/index.html. This webpage has 1 mimetype, and it is an Excel workbook. Dim oHTML_Element As…
user2979010
  • 357
  • 1
  • 8
  • 18
0
votes
1 answer

Why is the type of mshtml.htmldocument.body.all is just object?

say dw1 is a variable whose type is msthml.htmldocument dw1.all type is mshtml.ihtmlelementcollection However, dw1.body.all type is object. Why is it so? To be more blunt. Why is the type of dw1.all differs from the type of dw1.body.all?
user4951
  • 32,206
  • 53
  • 172
  • 282
0
votes
1 answer

Unable to read table row using MSHTML object

I am developing a Windows application using C# in which I have used an MSHTML object to read the table rows from the DOM (HTML). The table has THead and TBody tags and inside them a tag. When the HTML page is opened inside IE 9, then all table…
user2478625
  • 123
  • 2
  • 12
0
votes
1 answer

How to access a dynamic control in mshtml created through javascript

How to access a dynamic control in mshtml created through javascript. I have a Yes/No radio button. On selecting Yes, a textbox is dynamically created and added next to this radio button. I am able to access the radio button using…
Sumesh Kuttan
  • 1,333
  • 1
  • 17
  • 40
0
votes
1 answer

MSHTML   appear on editing

I want to add another MSHTML question. Thanks to all responses. We use in Delphi the standard TWebbrowser component, that uses mshtml.dll internally. Additionaly we use the registry to ensure that the pages renders with the new rendering engine…
elite
  • 191
  • 2
  • 13
0
votes
1 answer

Need MsHtml update for new Internet Explorer versions

Since Internet Explorer 9 there is a new interface IDOMDocumentType (http://msdn.microsoft.com/en-us/library/ff975983%28v=vs.85%29.aspx). These interfaces are declared in mshtml.h. But I have Visual Studio 2005 which does not yet have this interface…
Elmue
  • 7,602
  • 3
  • 47
  • 57
1 2
3