.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Need PIAs for MSHTML 8

Posted By:      Posted Date: September 03, 2010    Points: 0   Category :.NET Framework
I've got an application that references Microsoft.mshtml.dll version 7.x.  I'd like to use mshtml version 8 since it supports css 2.1 (specifically the content property for before/after pseudoelements). Unfortunately, I cannot find PIAs for mshtml 8.x. I attempted to reference mshtml.dll directly, but go the following error: A reference to 'mshtml.dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component.   Does anyone know how I can find/generate these PIAs?   Thanks, Steve

View Complete Post

More Related Resource Links

Microsoft.mshtml / mshtml.dll versioning and reference issues

Hi, Couldn't find a more relevant section to put this in, so I'll throw it here as I'm coding in C#, although that doesn't really matter. I'm using .NET 4, trying to add a reference to mshtml, and I want to have all the capabilities depending on the version the client has installed. If I add a reference to the COM component called 'Microsoft HTML Object Library', the reference is labelled "MSHTML" and the path points to an assembly in the GAC called 'Microsoft.html' for some reason. Even though I have IE8 installed, it is still missing the IE8 interfaces, which makes me think it is just pointing to the Microsoft.html.dll wrapper instead of generating the reference from the actual COM compoment. The Microsoft.html.dll wrapper is missing the IE8 interfaces, and from what I can tell, this wrapper is somewhat unnecessary with the .NET 4 "Embed Interop Types" feature. The other thing that scares me is the "Specific Version" field on the reference, which is set to true, and I can't change it. What if someone has a lower version of "Microsoft HTML Object Library" than my dev machine? EDIT: Sorry, got a little confused between adding a reference to Microsoft.mshtml .NET assembly and directly to the COM component.  If I add the reference to the COM component, "Specific Version" isn't available in the properties, bu

mshtml.dll problem with windows 7


I have a windows forms application embedding in it the IE browser control.

I compiled it with salamander software in order to be run without .net framework.

This applications is intended to run on a CDROM with softlock security applied to it!

The problem is that everytime i run the application it gives an error in the following dll: mshtml.dll

Can anyone advice?



mshtml on win7 x64 compiled for ANY CPU platform


Hi everyone


Our application use component 'Dynamic Html Editor' to allow user edit html text.

Our application refer to microsoft.mshtml.

When this application built in x86 mode - dynamic html editor works properly on windows 7 x64.

But now we need include other component which need application be compiled for 64 target platform. So we cannot prepare application in x86 mode any more.

So when we prepare application in Any CPU target platform, and install it on Windows 7 x64, application does not see registered dynamic html editor control and the following exception occurs:

     MESSAGE:          Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

     TYPE: System.Runtime.InteropServices.COMException

     SOURCE:           System.Windows.Forms

     STACK TRACE:     

   at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)

   at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
   at System.Windows.Fo

64 bit OS and Microsoft.mshtml issue





I have an application developed on a 32 bit machine using .net framework 2.0. One of the module of the application uses Microsoft.mshtml namespace. The application runs fine on a 32 bit OS, but when I try to run the same application on a 64 bit OS, the module using this namespace(Microsoft.mshtml) fails to run. Rest Of the application is running absolutely fine. It is not even generating any error message which I can provide here. I have installed the Primary interoperatiblity assemblies Assemblies 2005 since this helped me fix this issue on 32 bit Windows 2000 server. Is it so that 64 bit OS need interop assemblies specifically designed for 64 bit OS ? or this is something else.



Please Help Me On This Issue.





Mshtml/WebBrowser based html editor breaks with IE9

My 32-bit .net 3.5 winforms app hangs if run concurrently with IE9. It uses the System.Windows.Forms.WebBrowser control for editing html along with the IHTMLDocument2 COM interface. The app references mshtml. This did not happen with IE8.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend