Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I just want to communicate between two exe's.
I shall describe my problem below.

I am having two EXE's namely EXE1 and EXE2.

If I click a button in EXE1 I need to get the flag value from EXE2 so that I can proceed on EXE1.

How can I get the values from EXE2 to EXE1.
Posted
Comments
Sergey Alexandrovich Kryukov 19-Aug-15 2:55am    
Why? It sounds like a typical abuse.
—SA
Mayank Vashishtha 19-Aug-15 3:00am    
Totally agree with Sergey. You need to provide more details otherwise.
Tomas Takac 19-Aug-15 3:29am    
I guess you are talking about IPC. In .NET world the most natural way how to let two processes to talk together would be WCF I guess.
KUMAR619 19-Aug-15 5:36am    
We are using .Net 2.0 version so WCF is not possible.
Can you briefly explain.

1 solution

If they are both executing at the same time on the same PC (or even on the same LAN segment) then the easiest way is probably just to use the Socket class[^] - the link includes an example.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900