como decis descargar el codigo fuente de la web es la mejor manera de hay tendria que sacar el contenido que esta entre las etiquetas, pero mi pregunta eh buscado tambien esa forma pero no encuentro un codigo de ejemplo para que saque los datos. y aclaro que lo que quiero realizar es en Visual Basic . Net aplicaciòn de escritorio.
Por favor tío, o no sabes buscar, o solamente quieres el trabajo hecho.
Google me arroja por C#:
string getPageSource(string URL)
{
System.Net.WebClient webClient = new System.Net.WebClient();
string strSource = webClient.DownloadString(URL);
webClient.Dispose();
return strSource;
}
Y como no hay tanta diferencia, en VB.NET debería ser algo así:
Private Function getPageSource(ByVal URL As String) As String
Dim webClient As New System.Net.WebClient()
Dim strSource As String = webClient.DownloadString(URL)
webClient.Dispose()
Return strSource
End Function
En fin... google no muerde.