RunTime Error Handling

D

Dave Hawks

I have an application that uploads a file to a website automatically
triggered by the on timer property of a form. If the connection to the target
is lost for any reason I get a run time error -2147217503(80040) Couldn't
connect to server"**"
Is there any way of handling the error that would simply abort the routine
and close the form rather than waiting for the message to be accepted
manually.
Hope someone can help .
 
Top