?
Solved

Displaying a console window from a windows application

Posted on 2003-03-25
4
Medium Priority
?
222 Views
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.

Thanks,


0
Comment
Question by:Calibus
2 Comments
 
LVL 48

Accepted Solution

by:
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.
0
 

Assisted Solution

by:tuthlis
tuthlis earned 1000 total points
ID: 8266093
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month9 days, 13 hours left to enroll

609 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