Are you able to send message through remoting btw 2 Exe's ? If yes then you can have diff. codes for diff. messages. You can use thread to display your new messages.
Main Topics
Browse All TopicsI have an application which uses a SQL Server Database to manage data in the system. I currently have two different executable applications, the first one is basically the entire GUI of the application (e.g. Forms, etc.) and the other is a reminder/monitor for the database which shows an Outlook like reminder when appropriate. The majority of the classes and data structures are based in DLLs that these two EXEs shared but not in the same instance.
I would like to know how to make it possible when an event (like a button click) on the reminder application happens, this EXE could raise an event that triggers something in the other EXE (like jumping to the approriate screen or place in the GUI). Very similar to the behavior Outlook displays on its new messages.
I have explored a variety of ideas like REMOTING, PIPES, AppDomains, etc. and I am looking for advice on what will and should work the best for all flavors of Windows (98SE - Vista).
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
@ozymandis
I agree with you there is no real definitive way to do this. When researching remoting, I discovered that remoting works over localhost and therefore is dependent upon the network and all that comes with it (including firewalls). I am also concerned about wirting random files in the operating system.
Is pipes not a legitimate option? That seems from my research that there is no real solution across all platforms (and therefore security constraints) except Pipes.
Is AppDomains even appropriate in this case? It appears it could be but I am not sure because I am not familiar with the details of them.
Pipes is definitely an option here as it is specifically the kind of IPC problem that it was designed to solve.
There are a couple of good articles with examples here :
http://www.codeproject.co
h
and here (using interop) :
http://blog.paranoidferre
However,
Business Accounts
Answer for Membership
by: ozymandiasPosted on 2008-07-08 at 13:03:13ID: 21957658
There's no best way but there are lots of ways.
You can use remoting (any platform) or WCF (XP and vista only).
You could write messages or events to an MSMQ that the other app listens to (requires msmq to be installed).
You could use raw sockets.
You could write events to a file or files that the other application polls periodically or write files to a directory that the other application monitors using a file system watcher.
The last one is actually the simplest/easiest and most universal way of doing this.