p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

activex_data_objects thread: Event handlers between two applications using ADO...


Message #1 by "Tom Bellavia" <tbellavia@v...> on Wed, 11 Jul 2001 18:26:43
I am in the process of devising a scheme to fire messages between two 

applications sharing a common Access database. A Visual Basic app will 

write the database and then fire an event so that the C++ application 

(MFC) will handle this as notification that new information is available. 

It is even prefered to transfer some data as well. The twist is that it 

must work over a LAN. :)

Any ideas out there?

Message #2 by "Steve Wark" <ccontras@b...> on Thu, 12 Jul 2001 08:41:35 +1000
Use IP messaging.  If the two applications exist on two different computers

you would need to know each computer's IP address, or if you don't you could

use a IP Broadcast address.



If the applications exist on the same computer look at usinf DDE.



Regards

Steve Wark



-----Original Message-----

From: Tom Bellavia [mailto:tbellavia@v...]

Sent: Wednesday, 11 July 2001 6:27 PM

To: ActiveX_Data_Objects

Subject: [activex_data_objects] Event handlers between two applications

using ADO...





I am in the process of devising a scheme to fire messages between two

applications sharing a common Access database. A Visual Basic app will

write the database and then fire an event so that the C++ application

(MFC) will handle this as notification that new information is available.

It is even prefered to transfer some data as well. The twist is that it

must work over a LAN. :)

Any ideas out there?












  Return to Index