How to make a project that is opened as its own program
-
-
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
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
-
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
-
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
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