"Rob" <rw*****@comcast.net> schrieb:
System.Console.Write and WriteLine commands... the program shells out to
Command prompt, displays message, and closes... there is no time to view
what is shown,,, how can you keep the console up in order to view the
contents ?
This behavior is by design. Typically console applications are launched
from a console window, for example in a "cmd" console. After execution of
the program is finished the console returns to the command prompt.
I agree with you that this makes debugging of console applications from
within the IDE complicated. You can overcome this issue by addign the
following code to the end of your 'Sub Main':
\\\
#If DEBUG Then
Console.Read()
#End If
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>