Click here to Skip to main content
Licence 
First Posted 28 Apr 2005
Views 64,931
Downloads 812
Bookmarked 24 times

Ping Control

By HendrikO | 28 Apr 2005
This article describes a Ping control.
2 votes, 18.2%
1
2 votes, 18.2%
2
1 vote, 9.1%
3
1 vote, 9.1%
4
5 votes, 45.5%
5
2.76/5 - 11 votes
μ 2.76, σa 2.97 [?]

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

About the Author

HendrikO

Web Developer

South Africa South Africa

Member


Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionHow do I use the code. Pinmember8AVEGA22:01 5 Feb '09  
Generalvb.net Pinmembersrikanth goud21:40 27 Sep '07  
GeneralProblem using the ping control in a multthreaded app. PinmemberDTJeff6:59 14 Jul '05  
GeneralRe: Problem using the ping control in a multthreaded app. Pinmemberantoine_raymond3:22 19 Feb '07  
GeneralRe: Problem using the ping control in a multthreaded app. PinmemberDTJeff4:23 19 Feb '07  
GeneralRe: Problem using the ping control in a multthreaded app. Pinmemberantoineraymond6:33 19 Feb '07  
GeneralPing control Accepts all pings Pinsussmichael ellerbeck7:04 22 Jun '05  
GeneralMultiple pings PinmemberAceoft4:33 10 May '05  
GeneralRe: Multiple pings PinmemberHendrikO21:03 10 May '05  
Hi Elijah,
 
I tested it here on my network and found that it workings fine.
 
The '0' that you are referring to, I think, is the response time in milliseconds. If you run the code in debug mode, you will see that 'Ping' function is executed every time.
 
I would really like to help you, but I need more information on your actual problem.

Thank you for your interest
Hendrik

GeneralRe: Multiple pings PinmemberEgn21:49 28 May '06  

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

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

Permalink | Advertise | Privacy | Mobile
Web04 | 2.5.120210.1 | Last Updated 29 Apr 2005
Article Copyright 2005 by HendrikO
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid