Jump to content

Recommended Posts

Posted

No blabla just lets start :P

 

1.Make new project, Select Windows form application write name and press OK

jk7qqd.jpg

 

2. Add 2 Labels, 2 Textboxs and 1 Button.

34glyrr.jpg

 

3. Rename 1st Label to Website, Rename second label to IP address ||||||| Rename button to Get

 

4. Double On your project to get source window and put this code inside:

Imports System.Net

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Try
            If Textbox1.Text.Contains("http://") Then
                Dim iphe As IPHostEntry = Dns.GetHostEntry(Textbox1.Text.Replace("http://", String.Empty))
                TextBox2.Text = iphe.AddressList(0).ToString()
            Else
                Dim iphe As IPHostEntry = Dns.GetHostEntry(TextBox2.Text)
                TextBox2.Text = iphe.AddressList(0).ToString()
            End If
        Catch ex As Exception
            MsgBox(ex)
        End Try
    End Sub
End Class

 

OK now if you want to edit your project just go to properties window and edit whatever you want...

 

DOWNLOAD APP HERE:

http://www.maxcheaters.com/forum/index.php?topic=130764.0

  • 2 months later...
Posted

Very Good M8 :)

 

Just an notice...When you Press Get Its Replace The URL with the IP...Fix it cuz the noobies will not know how to fix that xP

  • 1 month later...
Posted

Where you find the source code ?

 

its t0fx's from skid forums he just changed the textboxes' name.

 

t0fx's:

Imports System.Net

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Try
            If TextSite.Text.Contains("http://") Then
                Dim iphe As IPHostEntry = Dns.GetHostEntry(TextSite.Text.Replace("http://", String.Empty))
                TextIp.Text = iphe.AddressList(0).ToString()
            Else
                Dim iphe As IPHostEntry = Dns.GetHostEntry(TextSite.Text)
                TextIp.Text = iphe.AddressList(0).ToString()
            End If
        Catch ex As Exception
            MsgBox(ex)
        End Try
    End Sub
End Class

 

his:

Imports System.Net

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Try
            If Textbox1.Text.Contains("http://") Then
                Dim iphe As IPHostEntry = Dns.GetHostEntry(Textbox1.Text.Replace("http://", String.Empty))
                TextBox2.Text = iphe.AddressList(0).ToString()
            Else
                Dim iphe As IPHostEntry = Dns.GetHostEntry(TextBox2.Text)
                TextBox2.Text = iphe.AddressList(0).ToString()
            End If
        Catch ex As Exception
            MsgBox(ex)
        End Try
    End Sub
End Class

 

http://www.hackforums.net/showthread.php?tid=179827

Posted

its t0fx's from skid forums he just changed the textboxes' name.

 

t0fx's:

Imports System.Net

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Try
            If TextSite.Text.Contains("http://") Then
                Dim iphe As IPHostEntry = Dns.GetHostEntry(TextSite.Text.Replace("http://", String.Empty))
                TextIp.Text = iphe.AddressList(0).ToString()
            Else
                Dim iphe As IPHostEntry = Dns.GetHostEntry(TextSite.Text)
                TextIp.Text = iphe.AddressList(0).ToString()
            End If
        Catch ex As Exception
            MsgBox(ex)
        End Try
    End Sub
End Class

 

his:

Imports System.Net

Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Try
            If Textbox1.Text.Contains("http://") Then
                Dim iphe As IPHostEntry = Dns.GetHostEntry(Textbox1.Text.Replace("http://", String.Empty))
                TextBox2.Text = iphe.AddressList(0).ToString()
            Else
                Dim iphe As IPHostEntry = Dns.GetHostEntry(TextBox2.Text)
                TextBox2.Text = iphe.AddressList(0).ToString()
            End If
        Catch ex As Exception
            MsgBox(ex)
        End Try
    End Sub
End Class

 

http://www.hackforums.net/showthread.php?tid=179827

Well,maybe you are correct,but there is not very hard for someone to write this simple code ^^

Hope,that the code is originally written by Coolis :)

Posted

Well,maybe you are correct,but there is not very hard for someone to write this simple code ^^

Hope,that the code is originally written by Coolis :)

 

Both of the codes have: Dim iphe

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..