>>I have done some (re)search and it appears that if you want use the execScript working (or webbrowser's document DOM in general)you have to get
>
>I have added the COM reference to the project. Then, I do this:
>
>
> Log.Document.GetElementById("DivInner").InnerHtml = lcHTMLWebService
> Dim MyDocument As mshtml.HTMLDocument = Log.Document
> MyDocument.parentWindow.execScript("Go()", "JavaScript")
>
>
>I obtain No such interface supported.
Strange, then I don't know howto solve, it works in c#. But I have found an article about using the webbrowser in vb.net,it also explains scrolling, in fact you don't need JavaScript (just the document DOM) to do the scrolling.
In the above example you can replace then MyDocument.parentWindow.execScript("Go()", "JavaScript") with
MyDocument.getElementById("DivGoTo").scrollIntoView("DivGoTo");
Take a look at the article, now it has to work :)
http://www.devjunkies.com/default.aspx?name=viewart&type=1&tid=90