Solved

Unable to access MSHTML DLL for web browser control

Posted on 2014-04-19
4
463 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 81

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

738 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