How to capture values in real time? (Best way)
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
6 posts
Page 1 of 1
I'm trying to grab the value of this page: http://it.soccerway.com/
in particulare i want grab the value that i underlined in the image:

I've actually make a code that's based on regex pattern, but i don't use the regex because this value is particular. Infact the site update it in real time.
I don't use a WebBrowser control because this value must be inserted in a specific control such as a textbox or datagridview.
There's a best way to grab the value from a web page without the using of regex and WebBrowser control?
I've seen in Internet the HtmlAgilityPack.1.4.6 but i don't know how to use it.
Can anyone help me do this?
HAPPY 2015
in particulare i want grab the value that i underlined in the image:

I've actually make a code that's based on regex pattern, but i don't use the regex because this value is particular. Infact the site update it in real time.
I don't use a WebBrowser control because this value must be inserted in a specific control such as a textbox or datagridview.
There's a best way to grab the value from a web page without the using of regex and WebBrowser control?
I've seen in Internet the HtmlAgilityPack.1.4.6 but i don't know how to use it.
Can anyone help me do this?
HAPPY 2015
Last edited by KraZy on Thu Jan 08, 2015 4:42 pm, edited 1 time in total.
I'm in the empire business.
You could use an HttpWebRequest to get the code for the Webpage every so often, and once you have the code, you can scan through it with Regex to get the information you want and insert it into your textbox or listview or whatever it is you want to do.
You could download the string from here and get the table values under 'content'. However I will note that this is a little bit tricky because one of the parameters in the url is dynamic I believe
SumCode wrote:However I will note that this is a little bit tricky because one of the parameters in the url is dynamic I believeIndeed! It looks like there's a date parameter, but you could easily insert that through the application you're building

Seems difficult haha, can you show me an example please?
I'm in the empire business.
KraZy wrote:I'm trying to grab the value of this page: http://it.soccerway.com/
in particulare i want grab the value that i underlined in the image:
I've actually make a code that's based on regex pattern, but i don't use the regex because this value is particular. Infact the site update it in real time.
I don't use a WebBrowser control because this value must be inserted in a specific control such as a textbox or datagridview.
There's a best way to grab the value from a web page without the using of regex and WebBrowser control?
I've seen in Internet the HtmlAgilityPack.1.4.6 but i don't know how to use it.
Can anyone help me do this?
HAPPY 2015
I'm in the empire business.
6 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023