Have you looked at the freeware/shareware tools which do this job?
maybe something like this one?
http://www.webattack.com/get/konstpinger.shtml>Hi
>
>I have downloaded NotifyMeIfServerIsDown utility from download area
>
>When I tryed to open it into visual foxpro 6.0 I go the following error
>Unable to find Visual class library c:\akp\wwipstuff.vcx
>
>What should I do ?
>
>Basically I want to create a utility which on regular interval will ping our router (IP address) and if it is not UP. It should give RED light else It should give green light.
>
>How can I do that ?
>Can I put the exe in System Tray ?
>If yes. How ?
>
>Pl. help me on this.
>
>Thanks in Advance
>
>Ashish Patel
Will Jones