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


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

Top
#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.

-Ben
http://www.rgcweb.org/kix

Top
#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.
Top
#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.

Top
Page 1 of 1 1


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

Who's Online
0 registered and 142 anonymous users online.
Newest Members
KatieQuinn, Brennnnn, MKubicsek, xguixa, mdress
17681 Registered Users

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

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org