Hi i want to invoke the Console application from my application but i would like to capture all the output generated in the console. (Remember, i dont want to save the information first in a file and then relist as i would love to receive it as live)
...
Is it possible to programatically, or otherwise, increase the width of the Windows console window? Or do I need to create a wrapper program that looks and acts like the console somehow? Are there any programs around that do this already? I use cygwin extensively in my development, and it seems a little rediculous to me that all console w...
If I have a native C++ windows program (i.e. the entry point is WinMain) how do I view output from console functions like std::cout?
...
I have a collection of boost unit tests I want to run as a console application.
When I'm working on the project and I run the tests I would like to be able to debug the tests and I would like to have the console stay open after the tests run.
I see that if I run in release mode the console window stays up after the program exits, but i...
Let's say I'm working on a little batch-processing console app in VB.Net. I want to be able to structure the app like this:
Sub WorkerMethod()
''//Do some work
Trace.WriteLine("Work progress")
''//Do more work
Trace.WriteLine("Another progress update")
''//...
End Sub
Sub Main()
''//Do any setup, like confirm the...
Hello y'all
I'm developing a system that needs to execute Intersystems Cache Terminal Scripts.
When I run a routine inside the regular Caché terminal or a telnet terminal, Cache executes the routine until the end with no problems. But when I try to run the same routine, but this time calling the routine within a Caché terminal Script, ...
What is the best way to write data to the text console at arbitrary locations on the screen and with custom fore/background colors?
...
I have an AIR application that takes command-line arguments via onInvoke. All is good, but I cannot figure out how to print some status messages back to the user (to stdout / console, so to speak). Is it possible?
Even a default log file for traces would be fine, but I can't find any info about it anywhere. Do I need to create my own lo...
We have a C# service that is deployed to a remote customer system. The application writes a substantial amount of "diagnostic" information to the console (i.e. Console.WriteLine()). The service isn't "doing what it should." How can we capture the console output from the service in another application?
A WinForm version the applicatio...
What is the best way to keep a console application open as long as the CancelKeyPress event has not been fired?
I would prefer to not use Console.Read or Console.ReadLine as I do not want to accept input. I just want to enable the underlying application to print to the console event details as they are fired. Then once the CancelKeyPr...
I'm running a console app (myApp.exe) which outputs a pseudo localized (unicode) string to the standard output.
If I run this in a regular command prompt(cmd.exe), the unicode data gets lost.
If I run this in a unicode command prompt(cmd.exe /u) or set the properties of the console to "Lucida Console" then the unicode string is maintaine...
What is the best method for displaying major/minor versions in a C# console application?
The System.Windows.Forms namespace includes a ProductVersion class that can be used to display the name/version information set via the Visual Studio project properties (Assembly Information). As such, here is my current mechanism:
Console.Write...
How can I bring a console application window to front in C# (especially when running the Visual Studio debugger)?
...
Hi,
If we are writing about power-wise option - is using a console-based application in C#(.NET) better than having Windows GUI and what's the real difference expept few libraries loaded in operational memory?
The issue is about text comparisons and working with strings, connecting to Internet, gathering data, working with database.
...
Does anyone know how to print debug messages in the Google Chrome Javascript Console?
Please note that the Javascript Console is not the same as the Javascript Debugger, they have different syntaxes AFAIK, so the print command in Javascript Debugger will not work here. In the Javascript Console, print() will send the parameter to the pr...
I know it, forgets it and relearn it again. Time to write it down.
...
I'd like to sprinkle some print statements in my code to show where I am and print important values to a console window.
How do I do that, but then be able to turn it off for the release version?
...
I need a cross platform solution for clearing the console in both Linux and Windows written in C++. Are there any functions in doing this? Also make note that I don't want the end-user programmer to have to change any code in my program to get it to clear for Windows vs Linux (for example if it has to pick between two functions then the ...
Is there a way to colorize parts of logs in the eclipse console. I know I could send to error and standard streams and color them differently but I'm more looking someting in the lines of ANSI escape codes (or anyother, HTML ?) where I could embed the colors in the string to have it colored in the logs.
It sure would help making the im...
On mac os console, when doing paste of large quantities of text (for example an sql database) I get loads of trash and corrupted text. But when doing the same under windows or into a text box, this doesn't happen and the text comes out ok.
Is this a buffer problem or something like it? If so anyone know any flag to make its size bigger?...