Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / May 2006

Tip: Looking for answers? Try searching our database.

Seeking Advice for Inter-Application Communication (VB6 to C#)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Joseph Geretz - 26 May 2006 16:57 GMT
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 -

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.