Solved

Unable to access MSHTML DLL for web browser control

Posted on 2014-04-19
4
435 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
  • 2
4 Comments
 
LVL 78

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now