thanks for all the input..
yeah i ended up using the httprequest classes... i had to workaround it..
cause i had to send data back to the page, it works with the GET method so i
could just parse the result.
I wanted to use it with a post method so i had to call the submit routine
from a script that executes when the page loads. The trouble with this way
is , the source code returned is always of the original page before the
submit process excutes. So i cant parse the info i needed.
Ofcourse i'm still wondering how do u excute a web page and get its source
out ..... The webserver control is the only one that seems to execute the
page scripts properly. Yeah i can right click the control and view source,
but how does one access this thru code ?
"Cor" <no*@non.com> wrote in message
news:e7****************@TK2MSFTNGP10.phx.gbl...
Hi Mike,
If you want to get information from a webpage (although you can never get
a page from the internet only one document and sometimes that is the page).
Than you use mshtml to get the information from the document.
Instead of the webbrowser you can also have a look for all the httprequest
classes but that are so much that I cannot tell you which you have to use.
If you want to have the whole page of a document you can get that by using
Html.innertext block. (The only thing you do not get it the leading HTML
tag and the closing HTML tag) Or any other innertext block.
When you use mshtml you have to set a reference for it but do not set an
import, because this class freezes your IDE, you need to set an prefix
reference every time you use it.
I hope this helps,
Cor