Why not use a com object written in VB, or a combination of a message server and com object written to allow the different objects to communicate with the message server.
--- Justin Buist <[EMAIL PROTECTED]> wrote: > On Thu, 8 Nov 2001, Dave Watts wrote: > > > > I am looking for a method to connect and > communicate to a VB > > > application containing a Windsock Control which > in turn talks > > > to a back-end legacy system. Where I get stuck > is being able > > > to raise events such as Connect and DataArrival. > I have tried > > > creating a CFOBJECT, with no success and a > JavaScript Object > > > with only partial success. > > > > If you're trying to communicate with your custom > VB application, that app > > would have to expose a COM interface, I think. > > Correct -- at least that would be the prefered > method. A custom CFX tag > in C++ could possibly do the trick for you but CF > doesn't have events or > even functions so firing off CF functions when the > control receives an > event is (or seems to be) impossible. > > You'd have to resort to a CFX tag which polls the > satus of your VB control > with some sort of acceptable delay to fake an > event-driven type of model. > > Justin Buist > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com ------------------------------------------------------------------------------ To unsubscribe, send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body or visit the list page at www.houseoffusion.com
