: Your english is fine. I think I have an idea for what you are doing.
: If the site you are hitting has generally the same layout (source
: code wise) then It would be easy to grab this information. Typically
: when I write software to skim webpages I start by finding the value
: myself visually in the source code, then checking to see what
: characters lead up to that value. If they are the same, then we can
: automate grabbing the value.
:
: Take a bit of time and search for the data inside the source code of
: a page. Once you determine where the field is located, paste that
: section of HTML into code and /code tags.
:
: Meenwhile I will get together some information on loading Webpage
: Source into memory from a VB.Net Application.
:
: Firesickle.com
Thanks for the help i found something with the source code :
I load a webbrowser with the web page that i want the source code then i extract the data :
Private Sub RemplirPoints1(ByVal wb As WebBrowser, ByVal pts As Label)
dim nbrPts As String
dim annee As String
dim html As HtmlDocument
html = wb.Document
'search the year
annee = html.GetElementsByTagName("nobr").Item(1).InnerText
'search the pts by the player
nbrPts = html.GetElementsByTagName("td").Item(24).InnerText
If annee = "08-09" Then
pts.Text = nbrPts
Else
pts.Text = "0"
End If
End Sub