Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am creating an multiple consoles application (like Multiple Document Interface) in C# (say the consoles A, B , C and D)

1) Each Console can receive and send message.
2) For example A send message to D then it must be received in D and display on D.
3) If the message is received on D then A should display that the message is received on D. (step 2 and 3 is applied for all the consoles to send and receive message).


How can i implement this in C# and please provide some code to achieve this.



Regards
TanzeelurRehman
Posted
Comments
Nelek 12-Nov-12 12:07pm    
If you are creating the project, you should not ask for code. If we give you code, then we will be creating your project. I strongly recommend you to carefully read: what have you tried?[^]
TanzeelurRehman 12-Nov-12 12:17pm    
Thanks for the reply. I am trying to do but i am not getting where to start
[no name] 12-Nov-12 13:10pm    
Are all the console apps on the same machine?
TanzeelurRehman 12-Nov-12 13:17pm    
Yes, all the console should be attached to one application. for normal one console is created but i need 4 consoles to be created from one application. One more is it possible to send and receive messages from all other consoles

Thanks in advance
[no name] 13-Nov-12 12:58pm    
You want one application that has 4 console windows and can "send" each other messages, what kind of address system do yuo plan to use?

1 solution

I used this article for something similar, of you read through it you can learn how to find your cmd windows and send them information.

Managing Processes and Shell API Functionality using .NET, Part 1[^]
 
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