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 -
Ludwig - 26 May 2006 17:09 GMT
>I need to communicate between two applications. The legacy application is in
>VB6. New development is in C#. Here's the scenario:
[quoted text clipped - 20 lines]
>
>- Joseph Geretz -
have a look at
http://www.codeproject.com/dotnet/VB6andVBNETWindowMessages.asp?df=100&forumid=4
2526&exp=0&select=1114812

Signature
Ludwig Stuyck
http://www.coders-lab.be
chanmm - 26 May 2006 17:18 GMT
Interoperate between VB6, I assume it is a COM object, with C#. The new
features put it in C#.
chanmm
>I need to communicate between two applications. The legacy application is
>in VB6. New development is in C#. Here's the scenario:
[quoted text clipped - 20 lines]
>
> - Joseph Geretz -