Displaying a console window from a windows application

Posted on 2003-03-25
Medium Priority
Last Modified: 2010-04-15
Does anybody know how to create a C# windows app that has a windows interface and has the ability to create a console window?

I know you can create a console window and display a window's MessageBox.

I'd like to be able to have a window's form call up a console window.

Any help would be greatly appreciated.


Question by:Calibus
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 48

Accepted Solution

AlexFM earned 1000 total points
ID: 8208545
In existing Windows Form application open Project Properties, Common Properties, and change Output Type from Windows Application to Console Application.
Now you can use Console class functions to write information to Console window which is created when application starts. If Console window doesn't exist, Console.WriteLine works as Trace.

Assisted Solution

tuthlis earned 1000 total points
ID: 8266093

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question