IP Finder And Location VB.NET

IP Finder And Location



Public Class Form1
    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
        Try
            Try

                Dim arreyTag As New ArrayList

                For Each items As HtmlElement In WebBrowser1.Document.GetElementsByTagName("td")
                    arreyTag.Add(items.InnerText)
                Next

                Label1.Text = "Your IP address : " & arreyTag(0)
                Label2.Text = "Latitude : " & arreyTag(1)
                Label3.Text = "Longitude : " & arreyTag(2)
                Label4.Text = "Country : " & arreyTag(3)
                Label5.Text = "Region : " & arreyTag(4)
                Label6.Text = "City : " & arreyTag(5)
                Label7.Text = "Organization : " & arreyTag(6)


            Catch ex As Exception

            End Try
        Catch ex As Exception

        End Try
    End Sub
End Class


Comments

Popular posts from this blog

QR CODE SCANNER (Emgu CV ) VB.NET

Simple Modern Login (Guna UI, Mysql) VB.NET

Simple Lottery Game (Guna UI) VB.NET