Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File or assembly name Microsoft.mshtml not found
Message
 
To
15/01/2005 18:53:11
General information
Forum:
ASP.NET
Category:
Web control library
Miscellaneous
Thread ID:
00977517
Message ID:
00977589
Views:
28
Hello Michel,

I have never deployed an application in my whole life, so I can't give you an exact answer. What I have read is that you have to include the mshtml.dll.

I was also curious about how the webbcontrol would display the data without referencing to mshtml? It doesn't work me in C#, if I want to fill the body's webbdocument I can't do something like this :
axWebBrowser1.Document.Body.InnerHTML = "bla bla"
I'm very curious how you did this without using mshtml
Zakaria al Azhar



>I have included a Web Browser control on my form. When I run that on my development PC all is ok. When I run that on a server running Win2K, I have this error:
>
>File or assembly name Microsoft.mshtml, or one of its dependencies, was not found.
>
>The Web Browser control displays its data ok. But, in order to bring the cursor at the bottom, I am doing this:
>
>
>    ' Go at the end of the browser
>    ' expO1 Browser object
>    Private Sub GoEnd(ByVal toBrowser As AxSHDocVw.AxWebBrowser)
>        Dim MyDocument As mshtml.HTMLDocument = toBrowser.Document
>        MyDocument.getElementById("DivGoTo").scrollIntoView("DivGoTo")
>    End Sub
>
>
>I didn't create a setup to install that EXE on the server. I simply copied the bin directory which is also including the AxInterop.SHDocVw.dll and Interop.SHDocVw.dll files. However, in order to mshtml to work, am I forced to build a setup which would include all the dependencies?
Zakaria al Azhar
My blog on Actuaris.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform