Click here to Skip to main content
15,880,608 members
Articles / Desktop Programming / Windows Forms

Ping Notify (a ping monitoring utility)

Rate me:
Please Sign up or sign in to vote.
2.84/5 (11 votes)
14 Nov 2010CPOL 62.7K   3.7K   53   10
The Ping Notify utility allows the user to define an IP address or URL, set the time and start monitoring. The user may choose between beep on ping failing or on success.

Screenshot - PingNotify.png

Introduction

This simple and easy to use ping utility was created quickly using a wonderfully neat gauge control made by A.J.Bauer. Thanks A.J.!

Background

I needed this tool because one morning I wanted to know when a colleague of mine came to work. Since he docks his laptop when he arrives, I created this tool to get a beep when he arrived. Since then I have also used it for some other tasks.

Using the code

To use this tool, compile the code using Visual Studio 2005, set the address, the timeout, choose whether you would like the beep sound on success or fail and click the Start button.

Points of Interest

It took me a long time to figure out exactly how to use the AGauge control in a WinForm. Actually it is relatively simple:

  • Display your form
  • Open the Toolbox
  • Click on Choose Items
  • Browse and select the AGauge.dll
  • Now drag a gauge into your form

Screenshot - AddToolBoxItem.png

History

19 April 2007 First draft.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
R%S
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralMy vote of 4 Pin
Konstantin Dokuchaev2-Jun-13 21:36
Konstantin Dokuchaev2-Jun-13 21:36 
GeneralMy vote of 5 Pin
Manoj Kumar Choubey5-Mar-12 0:10
professionalManoj Kumar Choubey5-Mar-12 0:10 
Generalchoice Pin
speag15-May-09 5:06
speag15-May-09 5:06 
GeneralThanks Pin
Ghasem Nobari5-May-07 11:38
Ghasem Nobari5-May-07 11:38 
GeneralSuggestion Pin
UltraWhack23-Apr-07 6:35
UltraWhack23-Apr-07 6:35 
This was very interesting. Thanks. Can this be modified to include an option to show green/red led go/no go option instead of guage. Also can we have a sound on successful connect, sort of like an alert so that you know your friend has connected.
GeneralRe: Suggestion Pin
R%S25-Apr-07 5:17
R%S25-Apr-07 5:17 
QuestionSteps to make this work on VS2005express Pin
UltraWhack19-Apr-07 7:53
UltraWhack19-Apr-07 7:53 
AnswerRe: Steps to make this work on VS2005express Pin
R%S20-Apr-07 10:57
R%S20-Apr-07 10:57 
GeneralJust a suggestion Pin
peterchen19-Apr-07 6:28
peterchen19-Apr-07 6:28 
GeneralRe: Just a suggestion Pin
R%S19-Apr-07 7:04
R%S19-Apr-07 7:04 

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.