tagged [console-application]

Making UI for console application

Making UI for console application How can I make an interface for console applications to make them look like `edit.com` under Microsoft's operating systems. Target languages are C, C++ and C#.NET. ![...

Using ServiceStack Mini Profiler in self-hosted console application

Using ServiceStack Mini Profiler in self-hosted console application Is it possible to use ServiceStack Mini Profiler in self-hosted console application? If it is, where should I put profiler enable/di...

How to stop C# console applications from closing automatically?

How to stop C# console applications from closing automatically? My console applications on Visual Studio are closing automatically once the program finishes the execution. I'd like to "pause" the appl...

18 Sep at 22:11

Is there a way to make a console window flash in the task bar programmatically

Is there a way to make a console window flash in the task bar programmatically Basically I made console app that performs some task that takes a few minutes. I'd like to have it flash in the taskbar t...

4 Jan at 03:37

How restart the Console app?

How restart the Console app? I need to restart the app Console when the user press "R". I have this thanks

18 Apr at 17:29

Edit text in C# console application?

Edit text in C# console application? Is there a way to edit text in a C# console application? In other words, is it possible to place pre-defined text on the command line so that the user can modify t...

How to run a C# console application with the console hidden

How to run a C# console application with the console hidden Is there a way to hide the console window when executing a console application? I am currently using a Windows Forms application to start a ...

14 Mar at 07:46

What is the difference between public static void Main() and private static void Main() in a C# console application?

What is the difference between public static void Main() and private static void Main() in a C# console application? What is the difference between and in a C# console application? Specifically as it ...

17 Mar at 14:29

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

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=9GyMZKWjc...

.Net Console Application that Doesn't Bring up a Console

.Net Console Application that Doesn't Bring up a Console I have a console application I'm using to run scheduled jobs through windows scheduler. All the communication to/from the application is in ema...

how to execute console application from windows form?

how to execute console application from windows form? I want to run a console application (eg app.exe) from a windows form load event. I'v tried System.Diagnostics.Process.Start(), But after it opens ...

3 May at 00:3

Wrap text to the next line when it exceeds a certain length?

Wrap text to the next line when it exceeds a certain length? I need to write different paragraphs of text within a certain area. For instance, I have drawn a box to the console that looks like this: H...

10 May at 19:47

How can a C# Windows Console application tell if it is run interactively

How can a C# Windows Console application tell if it is run interactively How can a Windows console application written in C# determine whether it is invoked in a non-interactive environment (e.g. from...

System.IO.IOException when calling System.Console.WindowWidth

System.IO.IOException when calling System.Console.WindowWidth When making calls to any one of `System.Console.BufferWidth`, `System.Console.CurserLeft` or `System.Console.WindowWidth` I am greeted wit...

10 Dec at 10:55

How can I get the application's path in a .NET console application?

How can I get the application's path in a .NET console application? How do I find the application's path in a console application? In [Windows Forms](http://en.wikipedia.org/wiki/Windows_Forms), I can...

20 Nov at 15:40

Listen for key press in .NET console app

Listen for key press in .NET console app How can I continue to run my console application until a key press (like is pressed?) I'm assuming its wrapped around a while loop. I don't like `ReadKey` as i...

2 Feb at 15:49

How do I create a Resources file for a Console Application?

How do I create a Resources file for a Console Application? I'm trying to use an embedded resource in a console application, but [apparently](https://stackoverflow.com/questions/16655520/how-do-i-acce...

c# console, Console.Clear problem

c# console, Console.Clear problem I am writing a console program in C#. Is there a way I can use a Console.Clear() to only clear certain things on the console screen? Here's my issue: I have a logo (I...

18 Dec at 14:20

ASP.NET Core configuration for .NET Core console application

ASP.NET Core configuration for .NET Core console application ASP.NET Core support a new configuration system as seen here: [https://docs.asp.net/en/latest/fundamentals/configuration.html](https://docs...

Can I get copy/paste functionality from a C# Console Window?

Can I get copy/paste functionality from a C# Console Window? I am developing a console application in C#, and was wondering if there was a way to get the "copy-paste" or "mark-paste" functionality int...

How to keep console window open

How to keep console window open When I run my program, the console window seems to run and close. How to keep it open so I can see the results? ``` class Program { public class StringAddString ...

14 Mar at 19:29

How to call event before Environment.Exit()?

How to call event before Environment.Exit()? I have a console application in C#. If something goes wrong, I call `Environment.Exit()` to close my application. I need to disconnect from the server and ...

Visual Web developer - console application , how to

Visual Web developer - console application , how to I am learning in the visual web developer c#, entity framework, and webservices. I want to be able to run the entity framework for example with out ...

IOC for a Console Application?

IOC for a Console Application? Can anyone think of a good solution for getting IOC into a console application? At the moment we are just using a static class with the following method: I would like th...

how to handle spaces in file path if the folder contains the space?

how to handle spaces in file path if the folder contains the space? ``` public static void launchProcess(string processName, string arguments, out string output) { Process p = new Process { St...

31 Jan at 13:32