INet Error Trapping 
Author Message
 INet Error Trapping

I have a problem trying to trap time-outs using the opemurl and
getchunk.

The scenario is this; openurl only opens a 'random' amount of the text
file. So whilst the connection is still open, getchunk is used to
retrive the remaining data in 1024 bytes chunks... This works
perfectly unless .......

a user is not connected to the inter/intrarnet, so the connection
times out (according to inet1.RequestTimeout value). What happens is
that, there is no error response (icError). Normal error handling (On
Error GoTo) does not pick up the error and so the program exits.

Anyone had this problem? or any solutions?


only get about 10% of the messages.

Mike



Mon, 20 May 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. inet control error trapping

2. Can't trap Inet Control Error

3. VB5 - Inet control - http error trapping

4. onerror trap doesn't trap error!

5. inet inet inet

6. Trapping file sharing errors w/o ON ERROR?

7. DAO Error Trapping & Most Common Errors

8. Deadlock errors & vb error trapping

9. on error (trapping error)

10. Custom 500 error page - trapping the error text?

11. Breaks on error even when error trapping set to break on unhandled

 

 
Powered by phpBB® Forum Software