The code below will pull the HTML or XML from a web site. If the page is HTMl then you'll prolly need to use RegularExpressions to parse the data. If it's in XML then there are plenty of sites that show you how to navigate the document.
Please excuse me if I've misunderstood your request.
Public Function GetHtmlPageSource(ByVal url As String) As String
Dim st As System.IO.Stream
Dim sr As System.IO.StreamReader
Try
' make a Web request
Dim req As System.Net.WebRequest = System.Net.WebRequest.Create(url)
' if the username/password are specified, use these credentials
' get the response and read from the result stream
Dim resp As System.Net.WebResponse = req.GetResponse
st = resp.GetResponseStream
sr = New System.IO.StreamReader(st)
' read all the text in it
Return sr.ReadToEnd
Catch ex As Exception
Return Nothing
msgbox (ex.tostring)
Finally
' always close readers and streams
sr.Close()
st.Close()
sr = Nothing
st = Nothing
End Try
End Function
code obtained through....
Scott
Programmer Analyst
<{{><