Page 1 of 1 1
Topic Options
#79922 - 2001-04-17 06:12 AM Method to handle 'Events'

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 )
; something with the attachment...


Have a good one,

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

#79923 - 2004-04-29 05:29 PM Re: Method to handle 'Events'
Bonji Offline
Starting to like KiXtart

Registered: 2001-09-28
Posts: 169
Loc: Virginia
This would make KiXtart a much more flexible tool. An example (that I would love to see realized) is writing custom network apps. I'm writing a KiXtart/Kixforms application that is my own implementation of an IM program for work and it would be so much more powerful if it could truly be client/server and work over a network protocol.

I've had limited success with sockets in KiX, but without the COM events most of the functionality is hard to make work.

By the way, the poster above is not me.


#79924 - 2004-04-29 09:13 PM Re: Method to handle 'Events'
Chris S. Offline
MM club member

Registered: 2002-03-18
Posts: 2368
Loc: Earth
I agree. There are a lot of COM objects that support events that it would be nice to use in KiX and KiXforms.
#79925 - 2004-05-07 06:43 PM Re: Method to handle 'Events'
Sealeopard Offline
KiX Master

Registered: 2001-04-25
Posts: 11162
Loc: Boston, MA, USA
You can always set up event sinks for COM objects. See MSDN for documentation on "event sinks".
There are two types of vessels, submarines and targets.

Page 1 of 1 1

Moderator:  Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 170 anonymous users online.
Newest Members
dimi575, Drecksnacken, Nlill, webtools321, multiman
17734 Registered Users

Generated in 0.04 seconds in which 0.022 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google: