Some COM components send out Events when an some action has taken place or some pre-defined criteria was met. Could we get a method to respond to these?

something like:

;...

HandleEvent ( $objSomeApp, "AttachmentAdd", AttachmentAdded )

;...

function AttachmentAdded ( $objAttachment )
;...do something with the attachment...
endfunction

;...

------------------
Have a good one,
-Ben

"Its funny when you stop doing things not because they're wrong, but because you might get caught." - Unknown