|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Internet connection present?I have a partly produced VB.NET app that needs to 'know' when the client
machine has an interent connection so that it can connect to a remote webservice. Any ideas? Thanks Andy Ultradiv,
Yes set it in a try and catch block if it does not connect than there is no connection to that webservice. Cor Show quoteHide quote "ultradiv" <a***@vpwd.net> schreef in bericht news:eawaKQ%23qGHA.516@TK2MSFTNGP05.phx.gbl... >I have a partly produced VB.NET app that needs to 'know' when the client > machine has an interent connection so that it can connect to a remote > webservice. > Any ideas? > > Thanks > Andy > > Thanks Cor.
I'll do that Andy Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:u$CqMU%23qGHA.4408@TK2MSFTNGP04.phx.gbl... > Ultradiv, > > Yes set it in a try and catch block if it does not connect than there is no > connection to that webservice. > > Cor > > "ultradiv" <a***@vpwd.net> schreef in bericht > news:eawaKQ%23qGHA.516@TK2MSFTNGP05.phx.gbl... > >I have a partly produced VB.NET app that needs to 'know' when the client > > machine has an interent connection so that it can connect to a remote > > webservice. > > Any ideas? > > > > Thanks > > Andy > > > > > > ultradiv wrote:
> I have a partly produced VB.NET app that needs to 'know' when the client In VB2005 you can use My.Computer.Network.IsAvailable, but as the docs > machine has an interent connection so that it can connect to a remote > webservice. > Any ideas? say that only tells you if "a computer is connected to *a* network". In the long run, with proxies and network topologies and firewalls and so on, the only sure way to tell if you can connect to a remote webservice is to Try is and see. I mean, Try it and Catch. -- Larry Lard larryl***@googlemail.com The address is real, but unread - please reply to the group For VB and C# questions - tell us which version
array element isexist ?
How much disk space is needed... .Net and 32 processors Deriving from Abstract Classes with Enums and Varying Object Types Datagrids (again) VB6 to VB.NET System.OverflowException during IPostBackDataHandler.LoadPostData EDITITEMTEMPLATE FINDCONTROL PROBLEM Error Compiling Holding down keys II |
|||||||||||||||||||||||