The WebRequest class throws a WebException when errors occur while accessing
an Internet resource, so just try to connect and trap any erro that arises.
--
Regards
John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_auth or_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_autho r_plug>
----------------------------------------------
"Kadir CAMOGLU" <ka******@hotma il.com> wrote in message
news:uK******** ******@tk2msftn gp13.phx.gbl...
Hi all,
I am writing a program with vb.net which getting some information from
internet. I must check internet connection before some prosess.
But how?