How to bind events (AXEventSink?) to ADODB_Recordset, ADODB_Connection objects?
The group you are posting to is a
Usenet group . Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.smalltalk.dolphin
Date: Sat, 28 Jun 2008 04:46:27 -0700 (PDT)
Local: Sat, Jun 28 2008 7:46 am
Subject: How to bind events (AXEventSink?) to ADODB_Recordset, ADODB_Connection objects?
First thanks to Dolphin team who shipped Dolphin smalltalk with an ADO package. So the problem. AXEventSink was created to do subj. work as I know. How to bind AXEventSink instance to ADODB_Recordset object?
Looks like this: adoConn := ADODB_Connection new. eventObj := AXEventSink target: adoConn sourceTypeInfo: <WHAT I NEED TO CODE HERE???>
Thanks you all for answers.
You must
Sign in before you can post messages.
You do not have the permission required to post.
Newsgroups: comp.lang.smalltalk.dolphin
From:
Udo Schneider <Udo.Schnei... @homeaddress.de>
Date: Mon, 30 Jun 2008 14:47:52 +0200
Local: Mon, Jun 30 2008 8:47 am
Subject: Re: How to bind events (AXEventSink?) to ADODB_Recordset, ADODB_Connection objects?
Alex,
> So the problem. AXEventSink was created to do subj. work as I know.
> How to bind AXEventSink instance to ADODB_Recordset object?
> Looks like this: > adoConn := ADODB_Connection new. > eventObj := AXEventSink target: adoConn sourceTypeInfo: <WHAT I NEED > TO CODE HERE???>
The following should work: ADODBLib sourceInterfaces. "This gives you all the the source (event) interfaces for this TypeLin. On my PC this gives a Set(a TKindDispatchAnalyzer('ConnectionEvents') a TKindDispatchAnalyzer('RecordsetEvents'))"
adoConn := ADODB_Connection new. sink := AXEventSink target: adoConn sourceTypeInfo: (ADODBLib at: 'ConnectionEvents') . sink connect: adoConn.
CU,
Udo
You must
Sign in before you can post messages.
You do not have the permission required to post.
Newsgroups: comp.lang.smalltalk.dolphin
Date: Mon, 7 Jul 2008 00:50:26 -0700 (PDT)
Local: Mon, Jul 7 2008 3:50 am
Subject: Re: How to bind events (AXEventSink?) to ADODB_Recordset, ADODB_Connection objects?
Thank you very much, Udo, it's works!
You must
Sign in before you can post messages.
You do not have the permission required to post.