You can use Web Browser automation but it seems like your needs might be simpler and you can just use an HTTP client to do this.
A simple way to do this is:
lcUrl = "http://www.west-wind.com/
oHTTP = CREATE("Microsoft.XMLHTTP")
oHTTP.Open("GET",lcUrl,.F.)
oHTTP.Send()
lcHtml = oHttp.ResponseBody
If you need more control you can use wwHttp which provides easy POST interfaces, file uploads, authentication etc. etc.
http://www.west-wind.com/webconnection/wwClient_docs?page=_s9001zxih.htmIf you need to automate the Web Browser control the White Paper that Tore pointed at earlier has TONS of examples on how to do simple and complex things by driving the control. It's towards the end of the document that gets into the detail of IE automation and the Web Browser control.
http://www.west-wind.com/presentations/shellapi/shellapi.aspHope this helps,
+++ Rick ---
>Hi there,
>I Have the need of gathering info from a web page.
>I remember it was possible to gather the Html code from the web but I'd would be glad if someone recalled me how :)
>What I don't really know how to do is programmatically clicking on a link and to get the html code of the opened page.
>
>Thanks
>Alessio