{
Text =
* determining whether the indicated computer is reachable.
*
* A boolean variable is initially set to false, then the
* function called IsDestinationReachable is run using the
* supplied computer name as the host.
* If the host is reachable, then a window will display
* for the user indicating such, as well as a tone will sound
* as an audible indicator.
* If the host is not found, then the program sleeps
* for 15 seconds (15000 milliseconds) and the process
* is then repeated to check if the host is reachable.
*/
WindowState =
txtCompName.Text = strCompName +
blnFlag =
Beep(500, 550);
}
[