04-25-2019, 06:48 PM
So I am making/updating my proxy scraper and I want the user to set the timeout of a proxy with a track bar I have added.
and to make the value of the trackbar be the timeout value in the URL.
I am doing this in VB.Net and names the Trackbar to "tbTimeout"
inside the URL it shows this
Dim response As System.Net.HttpWebResponse = DirectCast(DirectCast(WebRequest.Create("https://api.proxyscrape.com/?request=getproxies&proxytype=http&timeout=10000&country=all&ssl=all&anonymity=all"), System.Net.HttpWebRequest).GetResponse(), System.Net.HttpWebResponse)
timeout=10000 and would like it to have it be set by the user using the value of the trackbar.
and to make the value of the trackbar be the timeout value in the URL.
I am doing this in VB.Net and names the Trackbar to "tbTimeout"
inside the URL it shows this
Dim response As System.Net.HttpWebResponse = DirectCast(DirectCast(WebRequest.Create("https://api.proxyscrape.com/?request=getproxies&proxytype=http&timeout=10000&country=all&ssl=all&anonymity=all"), System.Net.HttpWebRequest).GetResponse(), System.Net.HttpWebResponse)
timeout=10000 and would like it to have it be set by the user using the value of the trackbar.