Results 1 to 3 of 3

Thread: [RESOLVED] The Output window disappears as soon as I run the program

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2010
    Posts
    730

    Resolved [RESOLVED] The Output window disappears as soon as I run the program

    I use statements like this:
    Code:
    Console.Write(TheName + " ");
    in a Windows Forms application.

    In other words, when the program runs, a form appears.
    I have a button on the form, when I click on that button, the above code executes.

    But, the problem is that the output window doesn't show during runtime.
    After I close the form, thereby terminating the program, then the output window shows, and it shows the strings that I outputted to it by pressing on that button.

    But, when the program is still running, and the form is on the screen, the Output window doesn't show.
    How can I make the Output window show at runtime?
    Thanks.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    109,998

    Re: The Output window disappears as soon as I run the program

    This really is a question that you shouldn't need to ask. You have VS right in front of you and it has a menu across the top of the window. You should have had a thorough look through that menu for yourself by now to see what options are available to you, so you should already know how to open the Output window or any other window. The set of windows displayed while debugging and not debugging separate so, while debugging, just open the windows you want. If you open a window while debugging then it will remain open each time you debug. If you open a window while not debugging then it will remain open each time you're not debugging. If you only open a window in one state then it will only be open in one state and if you open it in both then it will be open in both.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2010
    Posts
    730

    Re: The Output window disappears as soon as I run the program

    Quote Originally Posted by jmcilhinney View Post
    This really is a question that you shouldn't need to ask. You have VS right in front of you and it has a menu across the top of the window. You should have had a thorough look through that menu for yourself by now to see what options are available to you, ... .
    You are absolutely right.
    Mea culpa.

    For some strange reason I initially couldn't figure that out, but then after a short while I did figure that out, but that was too late to cancel the thread.

    Thanks for your help.
    Ilia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width