Click here to Skip to main content
12,889,963 members (46,215 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# 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.

Posted 12-Nov-12 6:04am
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
Mathlab 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
Mathlab 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 13-Nov-12 14:07pm
Basically I want to implement server - client application. Is it possible?

1 solution

Rate this: bad
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[^]

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170424.1 | Last Updated 12 Nov 2012
Copyright © CodeProject, 1999-2017
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