[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webservices

Your Application Will crash if it cannot connect ... WHY ??

Robbo

7/27/2003 5:29:00 PM


VB.NET Application ( Not asp.net ) Crashes horribly when it cannot connect
to webservice .......... Does anyone know how
to handle this exception ?? Code snippit if possible..

Thank you !
1 Answer

Severin

7/28/2003 8:19:00 PM

0

Well.....

Try
' Connect to webservice function

Catch ex as Exception
' Do Nothing or
MsgBox("Please ensure you are connected to the Internet before cliking
that button!")
End Try

That works for me....

Severin



"Robbo" <Drstripe-spamblock@hotmail.com> wrote in message
news:AqCcnRCKZeYqlrmiXTWJig@giganews.com...
>
> VB.NET Application ( Not asp.net ) Crashes horribly when it cannot
connect
> to webservice .......... Does anyone know how
> to handle this exception ?? Code snippit if possible..
>
> Thank you !