OK! First we open the Visual Basic 2010.
We put Windows Forms Application and as the name Ping IP.
Now follow the steps!
Take 1 Button 2 TextBox.
Click on Forms and Let's put this code just above Pubblic Class:
Now click on the button and in the Click event we put this code:
Now We initiate the Debug and you're done!
We put Windows Forms Application and as the name Ping IP.
Now follow the steps!
Take 1 Button 2 TextBox.
Click on Forms and Let's put this code just above Pubblic Class:
PHP Code
<?php
Imports System.Net
Now click on the button and in the Click event we put this code:
PHP Code
<?php
Dim hostname As IPHostEntry = Dns.GetHostByName(TextBox3.Text)
Dim indirizzo As IPAddress() = hostname.AddressList
TextBox4.Text = indirizzo(0).ToString
Now We initiate the Debug and you're done!


![[Image: 5Iq5rDJ.gif]](https://i.imgur.com/5Iq5rDJ.gif)