Home All Groups Group Topic Archive Search About
Author
17 Jul 2006 5:24 PM
Ros
Group,

when the Console.WriteLine is called, shouldn't the console window appear?
or how do i call it to show the console window?


Please help.


Ros

Author
17 Jul 2006 5:37 PM
Tom Shelton
Ros wrote:
> Group,
>
> when the Console.WriteLine is called, shouldn't the console window appear?
> or how do i call it to show the console window?
>
>
> Please help.
>
>
> Ros

If your not in a Console application, then no - it won't appear.  If
you are trying to show it from a windows forms application, then you
can use the AllocConsole api to create a console window for your
process (windows applications do not have a stdin by default).

--
Tom Shelton [MVP]