Sub object_OnCommand (
[Index As Integer,]
ByVal ClientId As Variant,
ByVal Command As Variant,
ByVal Resource As Variant,
ByVal Parameters As Variant
)
The OnCommand event occurs after the client has sent a
command to the server, but before the command has been processed. This
event occurs for all commands issued by the client, including invalid
or disabled commands. If the application wishes to handle the command
itself, it must perform any processing and then call the
SendResponse method to return data to the client, or the
SendError method to send an error response. If no response to the
request is sent from within the event handler, then the
server will perform its default processing for the command.
After the command has been processed, the OnResult event
handler will be invoked.