wodHttpDLX ActiveX Control - Done Event
    
 

Description

Fires when wodHttpDLX completes request.


Syntax

Private Sub object_Done(ErrorCode, ErrorText)



The Done Event syntax has these parts:

Part Description
object A wodHttpDLX object.
ErrorCode A Long value. Holds error number that occured, if any.
ErrorText A String value. Holds text description of the error.

Remarks

This event is fired when a data request completes. If the ErrorCode parameter is zero, the operation completed correctly. If the ErrorCode is not zero, then the ErrorText parameter specifies shows text description of error that occurred.

This is the event that will declare your request as finished. From this event you can issue new request, print out the results in Response.Body, check Response.Status if your request was successful etc.

If you did not call Connect method manually, then wodHttpDLX will disconnect from the server as soon as you leave from this event - unless you make new request using Get, Post...