Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Best way from VB to tell if a webservice is running?

Status
Not open for further replies.

ookete

Programmer
Oct 5, 2004
180
US
Hello,

I tried asking this on the ASP.NET forum with no response, and I believe it's applicable here too.

I am making my very first Pocket PC application (VB.NET), and I am using a web service to write data from the device to a database on the server. There will be times the Pocket PC will be unable to talk to the web service, and in that case I would like to store data locally until the service becomes available again.

What is the best way to check if the service is accessible from the Pocket PC app? I appreciate any advice! Thank you.
 
um, just sort of guessing but isn't the service returning an error if something goes wrong, or what about your local err object from your vb? if it can't connect it should return something, but like i said i'm just guessing, haven't used services much. i normally turn off all error handling when i'm troubleshooting too, let it hard fail to see what is returned.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top