Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File or assembly name Microsoft.mshtml not found
Message
 
À
16/01/2005 13:36:41
Information générale
Forum:
ASP.NET
Catégorie:
Librairie contrôle Web
Divers
Thread ID:
00977517
Message ID:
00977613
Vues:
32
>>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
>
>The use of mshtml was just to be able to get a reference to the document in order to be able to get access to the getElementById in order to scrollIntoView.
>
>For dumping data to InnerHTML, I am using:
>
>
>        Log.Document.GetElementById("DivInner").InnerHtml = lcHTML
>
In fact you are already referencing the getElementById without using mshtml to write html. Strange I can't do this in c#. What happens if you just do :
Log.Document.GetElementById("DivGoTo").scrollIntoView("DivGoTo")
without referencing to mshtml

BTW, when you type Log.Document. .. after typing the dot does Intellisense fire such that you can drill down to get getElementById?



Zakaria al Azhar
Zakaria al Azhar
My blog on Actuaris.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform