Solved

Unable to access MSHTML DLL for web browser control

Posted on 2014-04-19
4
455 Views
Last Modified: 2014-04-21
I am trying to refer MSHTML dll in my project from C:/windows/system32/mshtml.dll

but i am getting error as shown in the attachment.

Could anyone help on this ?

Thanks...
Capture.PNG
0
Comment
Question by:Md Shah
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 80

Expert Comment

by:David Johnson, CD, MVP
ID: 40011227
standard web browser controlWhat functionallity is missing in the webrowser control that you need from mshtml.dll?
0
 
LVL 8

Author Comment

by:Md Shah
ID: 40011243
Hi David,

I am using Web Browser control and loading external site in it.

I want to insert my own script function in site page.

The reason why I am want is....

In this external page, we have a radio button on selection of which a part of page gets refreshed. As this a AJAX call, whole page doesn't gets loaded from server.

Due to this I can't able to catch this event in _DocumentCompleted or _Navigated eventhandlers of Web Browser control.


Hope i am clear in my question

Thanks !
0
 
LVL 18

Accepted Solution

by:
dj_alik earned 500 total points
ID: 40011296
If you're using the 2.0 Framework then you should find the PIA,
"Microsoft.mshtml" on the .NET tab. Otherwise, it can be found under the
COM tab as "Microsoft HTML Object Library".
0
 
LVL 8

Author Closing Comment

by:Md Shah
ID: 40012413
And this has worked... I couldn't able to add it from C:/Windows/System32/mshtml.dll directly but I could able to add it to my project without any issues by adding 'Microsoft HTML Object Library' present in COM tab..

Thanks for the help..
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
using CK editor in iframes 5 27
Save json data from URL using SSIS 1 24
ModalPopup  question 22 38
Set arraylist as datatable 2 7
Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question