I have a little problem with my R console recently. When I start R ("C:\Program Files\R\R-2.8.1\bin\Rgui.exe"), the cursor immediately starts in INSERT mode (thick state). Then I have to press Insert and toggle it to normal mode (thin state). As soon as I write a command line and hit Enter, the cursor again toggles to INSERT mode. I don'...
Question: I want to define a global exception handler for unhandled exceptions in my console application. In asp.net, one can define one in global.asax, and in windows applications /services, on can define as below
AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.UnhandledException += new UnhandledExceptionEventHandler(M...
Hello Comunity.
I'm checking "Flex Console" --> here that looks really interesting.
It seems easy to use and light to integrate. But how? I've been looking around for some info about it but haven't been successful. I found this post but I don't understand how it is used...
If anyone have any idea on how to use it or have any recommenda...
I'm afraid this is a dumb question, but I'm tired of searching for a solution.
I can't send anything to the output window (Results -> Output) in Expression Blend.
I tried with 'Console.WriteLine', 'Console.Out.WriteLine' and 'Debug.WriteLine' but I can´t see anything.
Thanks for your help
...
When developing a Win32 Application (non-console application) in Visual Studio 2005, is there any way to get the same sort of output as you do from the console?
For instance, say I want to see log statements (such as I would with cout in a console application) to trace the path my program has taken in the code.
My first thought would b...
Hey,
i'm trying to execute a php in the console, but each time i run it:
php myscript.php
it only outputs the content of the file, it dowsn't run it.
output:
<?
echo 'test';
?>
instead of:
test
What's wrong? I have php installed under c:/program files/php and the environment variable is set.
Thanks,
Dave
...
I want to set the ProcessStartInfo values for the running process... I am not starting an external process.
For example, is there an attribute I can place on my Main method that tells Windows to start this executable with the following settings.
I am trying to find a way to start my console hidden or minimized. Yes I can minimize it af...
Am I right thinking that Tigris.org have stopped maintaining their SVN binary package for Windows including Apache 2.x compatible package? It isn't listed any more on the Download page. It's very interesting why does it happened?
What alternatives are there now? Only SlikSVN? Does it have any differences with old Tirgris SVN?
And how t...
Guys, I'm having this weird error with my application that is supposed to copy files from a directory given from the command line to another directory.
I'm using of course the three API functions; CreateFile, ReadFile, and WriteFile. I can't use the CopyFile API.
Note that the compiler doesn't report any errors nor any warnings.
hFil...
Hi everyone first post here.
I want to create a unit test for a member function of a class called ScoreBoard which is storing the TOP5 players in a simple game.
The problem is that the method i am creating test for(SignInScoreBoard) is calling Console.ReadLine() so the User can type his name.
public void SignInScoreBoard(int steps...
I'm writing a little pong clone with ncurses and C.
I need to find a way to set the keyboard repeat delay to make it easier for a player to move the paddle, otherwise they are stuck hitting the down key and waiting about 50 milliseconds until the key begins to repeat.
I've checked the ncurses man pages and documentation, and I can't see...
I'm seriously perplex at how this guy make the console do this. This being it doesn't write top down, and how he can move up and down like that....
Can it be done with MonoDev and Terminal?
http://www.youtube.com/watch?v=-MA0nscgV2U
...
When using Console.Read(), the implementation seems to think that as soon as you push enter, you've entered enough bytes for an eternity of reads. For example, if Read is called twice in a row, you can't enter one value on one line, push enter, and move to the next. Even if you only entered one character, Read just returns zero (Edit: Or...
Is there a good way to do the following?
I wrote a simple console app to upload and download files from an FTP server using the ftplib.
Each time some data chunks are downloaded, I want to update a text progress bar, even if it's just a number.
But I don't want to erase all the text that's been printed to the console. (Doing a "clear"...
Is there anyway to delete certain parts of a console window using the (Left,Top) coordinates used with Console.SetCursorPosition()?
Could you make a custom method for it?
...
Hi, I'm developing a web-application for iPhone and Android. It works flawlessly on the iPhone but when I try to run it on an Android device, it just does not work.
But to the point… I need to access the (JavaScript) error console in the Android default browser. Is there a way to do that?
I tried changing the "Enable tracing" setting a...
Hi, guys
how to make the Panel widget change it's size on Form1_SizeChanged
how to attach a console window in order to see console.writeline messages
...
I've been developing a win32 console app and now I'd like it to be able to optionally show a non modal status / notification window. Is there any way I can do this from a console app or will I need to rewrite it as a windows app?
This is for a kiosk system so I'll need to call SetWindowPos() with the topmost flag on the window handle.
...
I've got a C/C++ program that runs in a console window, and prompts the user to press any key to continue, or 'q' to quit. It currently uses _kbhit() to detect if a key has been pressed, and then uses _getch() to determine what character it was.
Now I want to be able to automate this program (from a C# app using a Process with RedirectS...
Hello,
I've been trying to set up a CBT hook for my C++ Console application with the following code:
...includes...
typedef struct _HOOKDATA
{
int type;
HOOKPROC hookproc;
HHOOK hhook;
}_HOOKDATA;
_HOOKDATA hookdata;
//CBT
LRESULT CALLBACK CBTProc(int code, WPARAM wParam, LPARAM lParam)
{
//do not proccess m...