c# - Alternate running a console Application as Exe and WinExe -
this question has answer here:
- show console in windows application? 9 answers
i have c# console application running output type set "windows application" prevent console being seen during normal use. however, option alternatively run program console application @ will, in case user wanted troubleshoot , view console's output.
is possible pass command-line argument executable either run application in "console" mode or "windows application" mode depending on user's desire? if not, there other way change on fly if application show console or not?
no, can't. there's fundamental difference between console application , winforms application goes deep. once application compiled, cannot changed @ run time.
Comments
Post a Comment