hi guys
few days ago i was trying to find some thing to learn and i found a code

it leech proxies from web but method used is post method/ http webrequst ....


problem is here want to do same thing with web browser

here r the codes

Dim request2 As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create("http://freeforums.org/d-t5.html")
Dim response2 As System.Net.HttpWebResponse = request2.GetResponse
Dim sr2 As System.IO.StreamReader = New System.IO.StreamReader(response2.GetResponseStream())
Dim rssourcecode2 As String = sr2.ReadToEnd
Dim r2 As New System.Text.RegularExpressions.Regex("[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}:[0-9]{1,4}")
Dim matches2 As MatchCollection = r2.Matches(rssourcecode2)
For Each itemcode As Match In matches2
ListBox1.Items.Add(itemcode)

Next

ListBox1.Items.Remove("")
Me.Text = "PROXIES - " + ListBox1.Items.Count.ToString

if some 1 can help it would be nice of him

no reply? any 1 can help?

DO you want to use Web browser control for this??
or you are creating ur own browsing logic.
Well, it'd rather be good if you keep the same logic at the back end
create a temporary styled dynamic HTML doc and render it on Web Browser control.

yes i want to use web browser

If you are trying to get extract content from a webpage in a WebBrowser, use MsgBox(WebBrowser1.Document.Body.InnerHtml).

spoz these proxies r posted on web page

107.2.71.168:1708
107.3.217.65:1580
107.3.217.65:51723
107.43.148.15:8651
107.8.39.163:57071
107.8.63.188:11244
107.9.254.237:17209
108.222.146.33:44973

i want to show them in list box

dont want to use post method

i want to use webbrowser

web browser contain 107.8.63.188:11244
107.9.254.237:17209
108.222.146.33:44973 = list box

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.