hello !
i want to get the source of this page with winhttp in vb6 :
[CODE]
i try to get the source with PROXY :
but when i get the source of page in txtbox with:
Nothing is In TextBox !
why the text1.text is empty?
i want to get the source of this page with winhttp in vb6 :
Code:
http://mihanwebads.com/website/js
i try to get the source with PROXY :
Code:
Private WithEvents Http1 As WinHttp.WinHttpRequest
Http1.Open "GET", "http://mihanwebads.com/website/js", True
Http1.SetRequestHeader "Host", "mihanwebads.com"
Http1.SetRequestHeader "Accept", "*/*"
Http1.SetRequestHeader "User-Agent", "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"
Http1.SetRequestHeader "Cache-Control", "no-cache"
Http1.SetProxy 2, "212.175.88.16:8080"
Http1.Send
but when i get the source of page in txtbox with:
Code:
Private Sub Http1_OnResponseFinished()
text1.Text = Http1.ResponseText
end sub
why the text1.text is empty?