473,770 Members | 2,630 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Fancy console output

Is it possible to alter the look of the text in a console app such as it's
colour etc? If not can anything think of a way/product that lets me have a
console-type app with different coloured text?
Nov 16 '05 #1
6 2522
The Framework 2.0 allows you do that. In the 1.0 and 1.1 you can use the
Windows API to do the same.


--
Saludos,

Bela Istok
"Aidy" <so***@noemail. zzz> wrote in message
news:e7******** ******@TK2MSFTN GP10.phx.gbl...
Is it possible to alter the look of the text in a console app such as it's
colour etc? If not can anything think of a way/product that lets me have a console-type app with different coloured text?

Nov 16 '05 #2
Any hints on what API I need? Sample code would be great if you have it.

"Bela Istok" <be****@hotmail .com> wrote in message
news:eW******** ******@TK2MSFTN GP09.phx.gbl...
The Framework 2.0 allows you do that. In the 1.0 and 1.1 you can use the
Windows API to do the same.


--
Saludos,

Bela Istok
"Aidy" <so***@noemail. zzz> wrote in message
news:e7******** ******@TK2MSFTN GP10.phx.gbl...
Is it possible to alter the look of the text in a console app such as it's colour etc? If not can anything think of a way/product that lets me
have a
console-type app with different coloured text?


Nov 16 '05 #3

"Aidy" <so***@noemail. zzz> wrote in message
news:eH******** ******@TK2MSFTN GP15.phx.gbl...
Any hints on what API I need? Sample code would be great if you have it.


Try this as a sample:
Nov 16 '05 #4
"Aidy" <so***@noemail. zzz> wrote in message
news:eH******** ******@TK2MSFTN GP15.phx.gbl...
Any hints on what API I need? Sample code would be great if you have it.

Try this as a sample:
http://www.codeproject.com/vb/net/co...asp#xx859519xx

Good luck,
Ryan LaNeve
Nov 16 '05 #5
Excellent, looks just what I need :)

"Ryan LaNeve" <ry**@nolaneves pam.com> wrote in message
news:Oq******** ******@TK2MSFTN GP09.phx.gbl...
"Aidy" <so***@noemail. zzz> wrote in message
news:eH******** ******@TK2MSFTN GP15.phx.gbl...
Any hints on what API I need? Sample code would be great if you have it.

Try this as a sample:
http://www.codeproject.com/vb/net/co...asp#xx859519xx

Good luck,
Ryan LaNeve

Nov 16 '05 #6
Try also this:

http://www.ai.uga.edu/mc/Konsole.zip

Color, cursor positioning, etc., and if the console is redirected to a file,
it behaves reasonably.


"Aidy" <so***@noemail. zzz> wrote in message
news:%2******** *******@tk2msft ngp13.phx.gbl.. .
Excellent, looks just what I need :)

"Ryan LaNeve" <ry**@nolaneves pam.com> wrote in message
news:Oq******** ******@TK2MSFTN GP09.phx.gbl...
"Aidy" <so***@noemail. zzz> wrote in message
news:eH******** ******@TK2MSFTN GP15.phx.gbl...
> Any hints on what API I need? Sample code would be great if you have it. >

Try this as a sample:
http://www.codeproject.com/vb/net/co...asp#xx859519xx

Good luck,
Ryan LaNeve


Nov 16 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
862
by: Max | last post by:
Hi All, I am developing an application that needs to run in one of two modes: 1. If No command line param is provided the application should run as Window form. 2. If command line param is provided the application should run as a console application. For this i created a windows application with Main
1
5387
by: Oz | last post by:
This is long. Bear with me, as I will really go through all the convoluted stuff that shows there is a problem with streams (at least when used to redirect stdout). The basic idea is that my application (VB.NET) will start a process, redirect its stdout and capture that process' output, displaying it in a window. I've written a component for this, and a test application for the component. It allows me to specify a command to execute,...
2
22036
by: Boba | last post by:
Hi, I'm programming a WinForm application. I would like to enter commands that will send output that will help me to locate bugs in the future. I know that there is a way to send output by using the Console.Write command. The question is how can I see the outputs in the client machine ? Is there a specific programm to do it or Can I use the prompt window ?
7
4390
by: ajikoe | last post by:
Hello All, It is said that : Enabling the console window is easy. From Microsoft Visual Studio®, right-click on the project and choose Properties. Change the output type from Windows Application to Console Application. I use C# Standard Edition and I can't change the output type files from Windows Application to Console Application. I can' t find how tho change it although I follow this procedure: Menu Project -> Properties -> Common...
5
11258
by: Barry Mossman | last post by:
Hi, can I detect whether my class is running within the context of a Console application, vs say a WinForm's application ? also does anyone know whether the compiler or runtime is smart enough to avoid the overhead of writing to the console if it is not visible, eg I am running inside a WinForm application. thanks
4
2979
by: Bob | last post by:
I just recently noticed that when I start my applicatoin in debug mode, the IDE hangs (no disk or CPU activity) indefinitely (at least 20 minutes). Pausing the application shows that it's hung up at a line in a referenced assembly, one of my own, which is a simple Console.WriteLine() statement. The stack trace shows this line one level under the current frame, which is displayed as . Anyone seen this behavior before, know what causes it?...
2
4750
by: Steve | last post by:
I have created a console app that simply prints out a message a couple times, then exits, here is the code: <code> for(int i = 0; i < 10; i++) { System.Threading.Thread.Sleep(500); Console.WriteLine(String.Format("Sleeping...{0}", i)); } Console.WriteLine("Done!"); </code>
3
1730
by: Andrew Ducker | last post by:
We were using Console.Writeline from within our app, to do some routine debugging. And then we started having random problems when the code was run by a tester, on their own machine. We couldn't replicate these problems on the developer machines. And then we eventually worked out that on the dev machines Console output was going to a window, and on the test machines it was going....nowhere.
3
13860
by: TC | last post by:
I'm trying to debug a console application, but I can't see the console output. I've seen many references which say that console output is supposed to appear on the Output window when the application is run in Debug mode. However, I just can't get that to work. I'm using Visual Studio 2005. I've confirmed that my application is compiled as a console application, and that I'm running in Debug mode. To investigate this issue, I've reduced...
0
10237
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10071
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10017
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8905
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7431
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5326
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3589
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2832
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.