El-Phantasmo
Sep 8th, 2002, 06:23 PM
Ok I have an app that I run from either GUI or console...
For some reason the following line will NOT output anything :(
Console.WriteLine("some stuff")
I can get console arguments just fine, so it knows its coming from console, but it simply will not output anything.
I know its in teh right spot because I can call a message box right after the .writeline statement.
I've also tried Console.Write and although it doesn't matter System.Console.WriteLine and nothing gives me any output at all..
This doesn't seem like a difficult problem, but I don't get any errors so its a little more difficult to track down the problem.
I've even put the following line into the code, with no help
System.Console.SetOut(Console.Out)
Any ideas?
:confused:
For some reason the following line will NOT output anything :(
Console.WriteLine("some stuff")
I can get console arguments just fine, so it knows its coming from console, but it simply will not output anything.
I know its in teh right spot because I can call a message box right after the .writeline statement.
I've also tried Console.Write and although it doesn't matter System.Console.WriteLine and nothing gives me any output at all..
This doesn't seem like a difficult problem, but I don't get any errors so its a little more difficult to track down the problem.
I've even put the following line into the code, with no help
System.Console.SetOut(Console.Out)
Any ideas?
:confused: