Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Visual C# - Prevent console window from launching

Visual C# - Prevent console window from launching

Scheduled Pinned Locked Moved C#
csharphelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nyjcr
    wrote on last edited by
    #1

    Hi All, I have a windows form program, which runs and compiles fine. but along with the form window, there is a console window (black "command prompt" screen) that also launches, none of my other window program have this behavior. where can I stop the black window from launching? I looked at all the code and can't find it, so I'm assuming is some settings that I need to turn off. again, thank you all for all the help you have provided to this newbie. -JC

    S 1 Reply Last reply
    0
    • N nyjcr

      Hi All, I have a windows form program, which runs and compiles fine. but along with the form window, there is a console window (black "command prompt" screen) that also launches, none of my other window program have this behavior. where can I stop the black window from launching? I looked at all the code and can't find it, so I'm assuming is some settings that I need to turn off. again, thank you all for all the help you have provided to this newbie. -JC

      S Offline
      S Offline
      Spacix One
      wrote on last edited by
      #2

      Your project thinks it is a console application. Go to the project's properties and check that the "Output type:" setting is set to "Windows Application" and the "Startup object:" is set to your main WinForm's class.


      -Spacix All your skynet questions[^] belong to solved


      I dislike the black-and-white voting system on questions/answers. X|


      N 1 Reply Last reply
      0
      • S Spacix One

        Your project thinks it is a console application. Go to the project's properties and check that the "Output type:" setting is set to "Windows Application" and the "Startup object:" is set to your main WinForm's class.


        -Spacix All your skynet questions[^] belong to solved


        I dislike the black-and-white voting system on questions/answers. X|


        N Offline
        N Offline
        nyjcr
        wrote on last edited by
        #3

        Wow, I must be blind, I went through that before and did not noticed that... thank you for your help -JC

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups