No connection to internet - Web Browser shows default page

NWSolutions

New member
Joined
Jan 12, 2007
Messages
1
Location
by Trier, Germany
Programming Experience
Beginner
Hi,
here a question from an absolute VB.net newbie:

I have a program that shows in a Web Browser control window different webpages - they change acc. to clicks on 4 different buttons.
Ok - this works, quite easy.

Now, what if the user is simply not connected to the internet yet?
I would like to show a local default page telling the user, that he should connect with the internet. How can I do that?

Thanx 4 suggestions!
 
Ping a well-known public address, use the Ping class in System.Net.NetworkInformation namespace for this.
 
Back
Top