On Fri, 26 May 2006 11:57:55 -0400, "Joseph Geretz"
<jgeretz@nospam.com> wrote:
[color=blue]
>I need to communicate between two applications. The legacy application is in
>VB6. New development is in C#. Here's the scenario:
>
>The VB6 app will be pumping document files into a folder. We'll be writing a
>new (C#) class for this new feature.
>
>The C# Application (as distinct from the file pumper class just mentioned)
>needs notification for each file pumped into the folder in order to process
>the file.
>
>(FileSystemWatcher is not going to do it for us. The C# Application needs
>certain meta-information regarding each file, that the VB6 application is in
>possession of. Yes, pairing a companion tag file together with each document
>file might do the job, but is this really the best way to communicate
>between two applications? By passing files around?)
>
>So what is the best way to set up a 'conduit' beteen two applications? The
>pattern I'm trying to achieve would have the source application initiate an
>activity which would trigger an event raised in the target application to
>notify the target application that the activity has occurred.
>
>Thanks for any advice which you can offer!
>
>- Joseph Geretz -
>[/color]
have a look at
http://www.codeproject.com/dotnet/VB...select=1114812
--
Ludwig Stuyck
http://www.coders-lab.be