i have created a function that runs on my desktop that checks my website is up every 1/2 hour
The ping works very fast,and pouts the results in a listbox but now i want to check to be sure my internet connection is valid before the ping.The problem I have run into is the checking the internet connection takes a couple seconds.
How can i make the ping wait until the internet connection is done and results entered into a list box ?
Open in new window
I haven't tested it yet and you'll need to use it from a Win form if you want a listbox.