handling Timeouts/Loss of Coverage

  • Thread starter Thread starter Craig G
  • Start date Start date
C

Craig G

i have a VB.NET app that runs on a PocketPC. it connects to a webservice via
a wireless network so its all pretty straight forward

at the mo, when the user is out of range and tries to call the webservice
the app throws a "Operation Timed Out" error

but i would like to be able to give the user the chance to retry. so i was
thinking of changing my error handling so for certain errors it would prompt
the user with a messgebox which included Retry buttons and if the user
clicked Retry it would jump back to the line that fell over. i was going to
do this just by using Goto Statments & Labels

is this an efficent way of doing it, or can you point me in a better
direction.

Cheers,
Craig
 
Back
Top