Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / desktop / WinForms

Ping Notify (a ping monitoring utility)

2.84/5 (11 votes)
14 Nov 2010CPOL 1   3.7K  
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)