Click here to Skip to main content
15,886,362 members
Articles / Programming Languages / Visual Basic
Article

Ping Control

Rate me:
Please Sign up or sign in to vote.
2.76/5 (11 votes)
28 Apr 2005 102.4K   3.8K   29   10
This article describes a Ping control.

Introduction

Add a Ping control to your form and set the following properties:

  1. The IP-address to ping.
  2. The terminal type (Server, Router, Desktop, ….).
  3. The e-mail address of the person who will be notified when the remote host does not respond.
  4. The short description of the remote host.
  5. The ping interval.
  6. Write a log file - Yes or No. The log file can be viewed and printed.

Controls can be added to build a visual representation of your network.

When a remote host does not respond, the image will change, a warning message will be displayed and a log will be generated with the date and time. The e-mail recipient will also be notified.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
South Africa South Africa
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
QuestionHow do I use the code. Pin
8AVEGA5-Feb-09 21:01
8AVEGA5-Feb-09 21:01 
Generalvb.net Pin
srikanth goud27-Sep-07 20:40
srikanth goud27-Sep-07 20:40 
GeneralProblem using the ping control in a multthreaded app. Pin
DTJeff14-Jul-05 5:59
DTJeff14-Jul-05 5:59 
GeneralRe: Problem using the ping control in a multthreaded app. Pin
antoine_raymond19-Feb-07 2:22
antoine_raymond19-Feb-07 2:22 
GeneralRe: Problem using the ping control in a multthreaded app. Pin
DTJeff19-Feb-07 3:23
DTJeff19-Feb-07 3:23 
GeneralRe: Problem using the ping control in a multthreaded app. Pin
antoineraymond19-Feb-07 5:33
antoineraymond19-Feb-07 5:33 
GeneralPing control Accepts all pings Pin
spammehard200222-Jun-05 6:04
spammehard200222-Jun-05 6:04 
GeneralMultiple pings Pin
Aceoft10-May-05 3:33
Aceoft10-May-05 3:33 
GeneralRe: Multiple pings Pin
HendrikO10-May-05 20:03
HendrikO10-May-05 20:03 
GeneralRe: Multiple pings Pin
Egn28-May-06 20:49
Egn28-May-06 20:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.