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 / C++ / MFC
  4. How to make a project that is opened as its own program

How to make a project that is opened as its own program

Scheduled Pinned Locked Moved C / C++ / MFC
csharpvisual-studiotutorial
4 Posts 4 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.
  • J Offline
    J Offline
    Jared F
    wrote on last edited by
    #1

    I would like to know how to make a program that is not opened through Visual Studio but is opened as its own program. So basically I want to make a program to be able to be opened through an icon on my desktop, not through a compiler. dudeoffrance

    D M F 3 Replies Last reply
    0
    • J Jared F

      I would like to know how to make a program that is not opened through Visual Studio but is opened as its own program. So basically I want to make a program to be able to be opened through an icon on my desktop, not through a compiler. dudeoffrance

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Your request does not quite make sense. For example, "make a program" is vague at best. By using the compiler to create an application, you can then put a shortcut (i.e., icon) on the desktop for that application.


      "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

      1 Reply Last reply
      0
      • J Jared F

        I would like to know how to make a program that is not opened through Visual Studio but is opened as its own program. So basically I want to make a program to be able to be opened through an icon on my desktop, not through a compiler. dudeoffrance

        M Offline
        M Offline
        marinme
        wrote on last edited by
        #3

        sounds like you just want to build a project rather than just compile it.... what compiler are you using?

        1 Reply Last reply
        0
        • J Jared F

          I would like to know how to make a program that is not opened through Visual Studio but is opened as its own program. So basically I want to make a program to be able to be opened through an icon on my desktop, not through a compiler. dudeoffrance

          F Offline
          F Offline
          FlyingTinman
          wrote on last edited by
          #4

          If I understand your question you have been simply running your project from the IDE ( pressing F5 or CTRL-F5 etc. ) When you do this, before the program runs it is first compiled, and an executable is created ( e.g. yourapplication.exe ) The location of this executable can be found by looking at Project->Settings on the [Link] tab. Make sure you have the correct project and build debug or release) selected in the left pane, and the name and location of the executable will appear in the "Output file name" edit box ( you can change this ) If the path is a relative path it is relative to the project path (where your source code is stored) Using Windows Explorer you can copy (or drag-and-drop) that executable file onto your desktop (or anywhere else) or simply make a shortcut to it on your taskbar. By default it will have the blue MFC icom but you can change that by editing IDR_MAINFRAME in the 'Icon' resource Steve T

          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