Web Document object question... AGAIN... ;-)

  • Thread starter Thread starter _RIP_DREAMS
  • Start date Start date
R

_RIP_DREAMS

Guest
Ad1 said:
sorry I don't have Visual Studio on this machine
just add the browser to your form and in form_load put
Code:
webbrowser1.navigate2 "myTestPage.htm"
replace "myTestPage.htm" with a page you have and preferably one you have written so that you know what is going on inside it

in the document_complete event put
Code:
webbrowser1.zorder
and place a line break on this line

run your program, when it breaks open the "Quick Watch Window" and drag "webbrowser1" into it

now click on the little box with the cross in it, then do the same with "Document" and you will see all the elements and events of the DOM.

I can make an example for you later, but it will only be the same as above

i sucefully made this in vb6, but anyone knows how to do that in vb.net..?
im really needing to know how to do that
 
I think you have BringToFront and SendToBack methods. You can add a WebBrowser to your toolbox by right-clicking it and selecting "Customize Toolbox".
 
Back
Top