Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
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 12-Nov-12 6:04am
Comments
Nelek at 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 at 12-Nov-12 12:17pm
   
Thanks for the reply. I am trying to do but i am not getting where to start
Mathlab at 12-Nov-12 13:10pm
   
Are all the console apps on the same machine?
TanzeelurRehman at 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
Mathlab at 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?
TanzeelurRehman at 13-Nov-12 14:07pm
   
Basically I want to implement server - client application. Is it possible?

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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[^]
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 6,649
1 Sergey Alexandrovich Kryukov 6,280
2 CPallini 5,230
3 George Jonsson 3,574
4 Gihan Liyanage 2,522


Advertise | Privacy | Mobile
Web04 | 2.8.140921.1 | Last Updated 12 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100