Take the 2-minute tour ×

Just wondering if anyone has an example of communicating from console app to windows form or vice versa. Thanks

share|improve this question
What do you mean my communicating? Passing data to each other, calling methods remotely? Are both on a machine or are they to communicate via network communication? –  jlafay Jul 22 '10 at 14:16
Are they even different processes, or you just mean, e.g., reading from the console and writing to a form? –  Mau Jul 22 '10 at 14:17
add comment

2 Answers

I'd try with Inter-Process Communication mechanisms (IPCs) or with writing/reading temp files. It depends on your application.

share|improve this answer
add comment

What form of communication are you talking about?

Information can be written to and read from a flat text file, XML files, a database etc.

There could be direct communication via sockets.

Or are you talking about one application "controlling" the other in some way?

share|improve this answer
add comment

Your Answer


