The OnCommand event is generated when the client sends a
command to the server and receives a reply indicating the
results of that command.
Syntax
Sub object_OnCommand( [Index As
Integer], ByVal ResultCode As Variant,
ByVal ResultString As Variant )
Remarks
The OnCommand event is generated when the client receives a
reply from the server after some action has been taken. If the
ResultCode argument has a value of true, that corresponds to
an OK response from the server which indicates that the command was
successful. If the argument has a value of false, that corresponds to
an ERR response from the server which indicates that the command
failed.
The ResultString argument contains the descriptive string
returned by the server which describes the result. The string
contents may vary depending on the type of server.
See Also
ResultCode Property,
ResultString Property,
Command Method
|