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.
19
questions with no upvoted or accepted answers
5
votes
1
answer
2k
views
mshtml.dll version is 8.0 and Microsoft.mshtml is 7.0
I'm a little confuse and maybe you can help me.
I've the mshtml.dll (version 8.0) and the Microsoft.mshtml.dll (version 7.0)
If I go to add a reference to my WPF project and try to add the mshtml....
3
votes
0
answers
652
views
mshtml 8.0 and Microsoft.mshtml 7.0
I'm a little confuse and maybe you can help me.
I've the mshtml.dll (version 8.0) and the Microsoft.mshtml.dll (version 7.0)
If I go to add a reference to my WPF project and try to add the mshtml....
2
votes
0
answers
201
views
MSHTML DLL very slow to load at startup
I have a fairly large VB.NET WinForms project which loaded fine until recently. I have no recollection of any major changes in the startup code and I can only think of recent VS2019 upgrades that may ...
2
votes
0
answers
174
views
mshtml and CLS-compliance
I am witnessing some odd behaviour with mshtml and CLS-compliance.
I have an assembly marked CLSCompliant(true). This assembly does not expose any types from mshtml publicly.
I can make the code ...
2
votes
0
answers
605
views
WinForms problem with mshtml and ie9
IE9 appears to have broken my mshtml com based WebBrower html editor in my 32-bit winforms .net 3.5 application. (It has to be set to 32-bit due to an activex USB device controller I have to use.)
...
1
vote
1
answer
224
views
Web Elements Captuing using mshtml and shdocview vb.net/C#
I want to design a WPF page where we can capture web screen elements.
This should work something similar to IE F12(DOM Explorer) select element option. Can anybody please suggest where to start. ...
1
vote
0
answers
575
views
Native Image of Microsoft.mshtml referencing IL assembly cannot be loaded
Problem
I have a WPF Application that is referencing Microsoft.mshtml Primary Interop Assembly. I'm creating a native image of my app using NGen. I'm afraid the native image is never being loaded if ...
1
vote
0
answers
460
views
How to invoke onchange, onblur events of a DOM element inside WPF WebBrowser
I've tried a lot to find a solution of invoking DOM events of the loaded document of WPF WebBrowser. Here's a code to invoke click event-
mshtml.IHTMLDocument2 htmlDoc = webBrowser.Document as mshtml....
0
votes
0
answers
12
views
How to access the inner DOM document from Selenium Webdriver?
I've been having a lot of problems using Selenium Webdriver and I've given up using it. When I access a page with 11600 lines, it stops responding to commands like "FindElement". I would ...
0
votes
0
answers
25
views
MSHTML.DLL default printer
I am trying to execute MSHTML.dll in windows 10 to print html file via Shell Execute.
But it always gives popup to choose printer.
Is there a way to avoid this or is it standard behavior. Is there any ...
0
votes
0
answers
26
views
How to initiate click method td element using XPATH, Imports SHDocVw, Imports mshtml,
The web element is a table. I manage to get the data inside of it but clicking it is not working. Tried changing the class but it doesn't work. I already got the XPATH it's just that I'm not familiar ...
0
votes
0
answers
53
views
How to click td element using XPATH, Imports mshtml, Imports SHDocVw
I have a problem with my code, the web element is a table. I manage to get the data inside of it but clicking it is not working. Tried changing the class but it doesn't work. I already got the XPATH ...
0
votes
0
answers
866
views
Unable to cast COM object of type 'System.__ComObject' to interface type 'mshtml.HTMLDocument'
trying to attach to an IE browser.. it works for awhile then starts throwing this error...
---------------------------
---------------------------
Unable to cast COM object of type 'System....
0
votes
1
answer
174
views
InvalidCastException when reading mshtml.HTMLDocument.Script property
Trying to read the mshtml.HTMLDocument property results in the following exception:
An unhandled exception of type 'System.InvalidCastException' occurred in mscorlib.dll
Additional information: ...
0
votes
0
answers
170
views
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 ...
0
votes
0
answers
133
views
Getting the content of specific tab using mshtml controls in C#
<UL CLASS="littletab">
<LI CLASS="littletabitem" ID="forwardTo1">
<A HREF="javascript:void(0)">Section 1</A>
</LI>
<LI CLASS="littletabitem is-current">
...
0
votes
1
answer
653
views
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 ...
0
votes
1
answer
648
views
Include post variables in a createDocumentFromUrl call in .NET
I have a project in Visual Basic 2010 Express that parses web pages use the IHTMLDocument object. Here is the function I am using to retrieve a web page:
Private Function GetHTML(ByVal url As String)...
0
votes
0
answers
1k
views
"mshtml.HTMLWindow2Class.document " throws System.UnAuthorizedAccessException.
I am using mshtml.HTMLWindow2Class.document property to check the state of the web page. But I kept get the following exception:
System.UnAuthorizedAccessException.
Anybody know how to fix it? I ...