Google Groups Home
Help | Sign in
How to bind events (AXEventSink?) to ADODB_Recordset, ADODB_Connection objects?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
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
alex...@mail.ru  
View profile
 More options Jun 28, 7:46 am
Newsgroups: comp.lang.smalltalk.dolphin
From: alex...@mail.ru
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.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Udo Schneider  
View profile
(1 user)  More options Jun 30, 8:47 am
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
alex...@mail.ru  
View profile
 More options Jul 7, 3:50 am
Newsgroups: comp.lang.smalltalk.dolphin
From: alex...@mail.ru
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!

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google