Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

How to Create a Ping

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:

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!
(Nov 24, 2014 09:21 AM)AimBRoT Wrote:  Every1 on HF should know how to Ping ... but okay thanks ^^

So I assume you know how to ping in every single programming language in the history.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by MeesterOct 14, 2014 01:46 PM 12 692 Oct 14, 2014 01:46 PM
Last Post: Understalker
[C#] by System.OverrideNov 27, 2012 09:27 PM 5 259 Nov 27, 2012 09:27 PM
Last Post: BaussHacker