Created
June 10, 2020 17:14
-
-
Save sadik-fattah/cd6fb58ab6953e68b98a2002c4fd6dad to your computer and use it in GitHub Desktop.
Download from machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'make form . 2 labels , 2 button the copyright if you wont do !! | |
put this code to button1 (get ip) | |
If TextBox1.Text = " " Then | |
MessageBox.Show("please Enter WebSite") | |
End If | |
Dim Hostname As IPHostEntry = Dns.GetHostEntry(TextBox1.Text) | |
Dim ip As IPAddress() = Hostname.AddressList | |
TextBox2.Text = ip(0).ToString | |
' put this code to clearer the textboxs | |
TextBox1.Clear() | |
TextBox2.Clear() | |
' if you ave webSite you can yous lablslinks | |
Dim url As String = "your webSite" | |
Process.Start(url) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment