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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...