I tried this code and it's working....
Code:Dim req As HttpWebRequest = WebRequest.Create("http://whatismyip.com/automation/n09230945.asp") Dim res As HttpWebResponse = req.GetResponse() Dim Stream As Stream = res.GetResponseStream() Dim sr As StreamReader = New StreamReader(Stream) messagebox.show(sr.ReadToEnd())




Reply With Quote