View Single Post
  #1  
Old November 7th 08, 02:14 AM posted to microsoft.public.outlook.program_forms
BatKing
external usenet poster
 
Posts: 24
Default webBrowser control, how to detect user is not connected to interne

Hi,

I have a from which has a System.Windows.Forms.WebBrowser control in there.
my question is How can I tell the user is not connected to internet?

Currently I am trying to get the webBrowser.DocumentText or
WebBrowser.DocumentTitle and try to see if the content of the DocumentText
has some error message in there during DocumentCompleted event. but this is
kind of stupid and what if the user is using a Non-English windows OS?

Thanks.
Ads