Questions tagged [console-application]

A console application is a computer program designed to be used via a text-only computer interface, such as a text terminal, the command line interface of some operating systems (Unix, DOS, etc.) or the text-based interface included with most Graphical User Interface (GUI) operating systems, such as the Win32 console in Microsoft Windows, the Terminal in Mac OS X, and xterm in Unix.

A console application is a computer program designed to be used via a text-only computer interface, such as a text terminal, the command line interface of some operating systems (Unix, DOS, etc.) or the text-based interface included with most Graphical User Interface (GUI) operating systems, such as the Win32 console in Microsoft Windows, the Terminal in Mac OS X, and xterm in Unix. A user typically interacts with a console application using only a keyboard and display screen, as opposed to GUI applications, which normally require the use of a mouse or other pointing device. Many console applications such as command line interpreters are command line tools, but numerous text-based user interface (TUI) programs also exist.

As the speed and ease-of-use of GUI applications have improved over time, the use of console applications has greatly diminished, but not disappeared. Some users simply prefer console based applications, while some organizations still rely on existing console applications to handle key data processing tasks.

7241 questions
15
votes
1 answer

Where does console output go in an IIS hosted app?

Say I have a WCF app hosted in IIS. And in that app I run this line of code: Console.WriteLine("Testing, testing 1 2 3"); Where will that be written to? Or is it ignored and just lost? Is there someway to capture it when needed?
Vaccano
  • 78,325
  • 149
  • 468
  • 850
15
votes
5 answers

Implement a C# Client that uses WebServices over SSL?

So I've got a ServiceReference added to a C# Console Application which calls a Web Service that is exposed from Oracle. I've got everything setup and it works like peaches when it's not using SSL (http). I'm trying to set it up using SSL now, and…
Mat Nadrofsky
  • 8,289
  • 8
  • 49
  • 73
15
votes
13 answers

How do I make my java application open a console/terminal window?

Is there any way I can make an executable .jar that will open up the command line when double clicked? I'm making a text-based adventure game. As of right now it is just a maze with rooms. Eventually it is going to be much bigger and more in depth…
CaldwellYSR
  • 3,056
  • 5
  • 33
  • 50
15
votes
3 answers

Can Automapper be used in a console application?

Is it possible to use automapper in a console application? Its Getting Started Page suggests the bootstrapper class be called from Application start up, but there are no further details about a class to add and call from Main(). How do I go about…
StuperUser
  • 10,555
  • 13
  • 78
  • 137
15
votes
4 answers

How do I set the position of the mouse cursor from a Console app in C#?

I've found many articles on how to set the mouse position in a C# windows forms project - I want to do this in a console application. How can I set the absolute mouse position from a C# windows console application? Thanks! Hint: it's not…
15
votes
3 answers

Error "Missing operand after 'Bannon' operator" - what 'Bannon' operator is?

Working on a C# console app, I have a line: rowsFound = tempUsers.Select("EmailAddress = '" + userData[2].ToString() + "'"); rowsFound is a DataRow[], tempUsers is a DataTable, and userData is a SqlDataReader. I had the wrong index for userData…
Greg Bair
  • 670
  • 6
  • 20
15
votes
2 answers

How to add font color to a .net console app?

Is there a way to color the font of certain lines in a console app in .net? Thanks
user623892
15
votes
6 answers

C# full screen console?

I have seen that Windows can switch to the very basic console interface when updating the video drivers and I have also seen programs like Borland C++ doing this. I'd really like to know how to make this with a console application in C# (or VB.NET…
Vercas
  • 8,931
  • 15
  • 66
  • 106
15
votes
3 answers

Python. How to print text to console as hyperlink?

I'm working on a console application. My application uses urwid lib. In some cases, I need to show very long hyperlinks as short text inside table columns. I want to open links in the browser when I click on the text inside the column. So, my…
Danila Ganchar
  • 10,266
  • 13
  • 49
  • 75
15
votes
1 answer

Console application freezes until key pressed / mouse clicked

Sometimes it works great, but usually after i started application (after log)- nothing happen. Just after i press key- consumers start to work (that's not displaying problem, because there are messages in queues and they are not going to be free…
Maxim Zhukov
  • 10,060
  • 5
  • 44
  • 88
15
votes
1 answer

Exit Code When Unhandled Exception Terminates Execution?

When a C# .Net console application terminates due to an unhandled exception, are there rules determining which exit code is returned or is 255 always used? I haven't been able to find documentation on this. A simple console app that executes throw…
Ben Gribaudo
  • 5,057
  • 1
  • 40
  • 75
15
votes
2 answers

How to create ASCII animation in Windows Console application using C#?

I would like it to display non-flickery animation like this awesome Linux command; sl http://www.youtube.com/watch?v=9GyMZKWjcYU I would appreciate a small & stupid example of say ... a fly. Thanks!
Hamish Grubijan
  • 10,562
  • 23
  • 99
  • 147
15
votes
5 answers

Upload videos to my Youtube channel without user authentication using YoutubeApi v3 and ouath2

The goal of my task is to create a console script, which will insert recently uploaded videos on my own site to my own Youtube channel. I want to use server-to-server authentication but YoutubeApi does not support this way of authentication now.…
15
votes
7 answers

Console App Mouse-Click X Y Coordinate Detection/Comparison

I have a game that I am working on in a C# console application, purely as practice before going on to better methods. As opposed to using something such as a Windows Forms App, which has button functionality built in, I am endeavoring to grab the…
Bloodyaugust
  • 2,463
  • 8
  • 30
  • 46
15
votes
8 answers

C# console app to send email at scheduled times

I've got a C# console app running on Windows Server 2003 whose purpose is to read a table called Notifications and a field called "NotifyDateTime" and send an email when that time is reached. I have it scheduled via Task Scheduler to run hourly,…
Caveatrob
  • 12,667
  • 32
  • 107
  • 187