Yea.. james were in my comuter and i've commented everything that's connected with net (IP, Country and flag) and now it works..
Maybye where / how to fix that?
CODE:
[highlight=vb.net]
'Dim sSource As String = WC.DownloadString(sURL)
'Dim sURL As String = "http://www.ip-adress.com/"
'Private Function GetIP() As String
' Return GetBetween(sSource, "<h2>My IP address is: ", "</h2>")
'End Function
'Private Function GetCountry() As String
' Return GetBetween(sSource, sBracket & " alt=" & sBracket & "ip address flag" & sBracket & " width=" & sBracket & "16" & sBracket & " height=" & sBracket & "11" & sBracket & "> ", "<br>")
'End Function
'Private Function GetFlag() As String
' Return sURL & "flags/" & GetBetween(sSource, "<img src=" & sBracket & "/flags/", sBracket & " alt=" & sBracket & "ip address flag" & sBracket & " width=" & sBracket & "16" & sBracket & " height=" & sBracket & "11" & sBracket & ">")
'End Function
'Label4.Text = GetIP()
'Label2.Text = GetCountry()
'PictureBox1.ImageLocation = GetFlag()
[/highlight]