| | |
Program Release
Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Mar 2008
Posts: 173
Reputation:
Solved Threads: 1
I am using VC++ 2008 and wonder, that if I have made a project. "Windows Forms Application" that only consist of an Emty Form.
I wonder how it is possible to Compile this so this will be an application.
I have searched around in the properties and found something called "Release".
I am not sure how the process is working to do this and if this is the way to do it.
Because when compiling this Project now called ex: "Form1" and if I copy this Folder from
"Visual Studio 2008\Projects" to my other computer, this program will not work on that computer.
The program works if it remains under /Project.
It seems that it needs VC++ to be on the computer.
So the question is how to make a Program Release I think ?
I wonder how it is possible to Compile this so this will be an application.
I have searched around in the properties and found something called "Release".
I am not sure how the process is working to do this and if this is the way to do it.
Because when compiling this Project now called ex: "Form1" and if I copy this Folder from
"Visual Studio 2008\Projects" to my other computer, this program will not work on that computer.
The program works if it remains under /Project.
It seems that it needs VC++ to be on the computer.
So the question is how to make a Program Release I think ?
Last edited by Lukezzz; May 20th, 2008 at 11:17 am.
•
•
Join Date: Mar 2008
Posts: 1,495
Reputation:
Solved Threads: 123
The other computer you are testing it on probably does have the required .NET framework to execute the program.
I need pageviews! most fun profile ever :)
•
•
Join Date: Mar 2008
Posts: 1,495
Reputation:
Solved Threads: 123
To Build the project in release, click on the drop down menu by the run icon and set it to 'Release' then compile it. The program should be under the directory 'Visual Studio 2008\Projects\PROJECTNAME\Release\PROJECTNAME.exe'
I need pageviews! most fun profile ever :)
•
•
Join Date: Mar 2008
Posts: 173
Reputation:
Solved Threads: 1
With my Project Open, I go to the Menu "Project" and at the bottom of this menu I have properties.
In here After: Configuration, I can choose different things, Activ(Debug) and also "Release".
I choose "Release" here and also choosed "OutPutDirectory" to:
'Visual Studio 2008\Projects\Form1\Release\ApplicationTest.exe
When doing this and when I compile. This path is made. But when copy this path/ folder and running this program on the other computer that hasn“t VC++, I have this Error message:
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
I am not sure if I do this correct ?
In here After: Configuration, I can choose different things, Activ(Debug) and also "Release".
I choose "Release" here and also choosed "OutPutDirectory" to:
'Visual Studio 2008\Projects\Form1\Release\ApplicationTest.exe
When doing this and when I compile. This path is made. But when copy this path/ folder and running this program on the other computer that hasn“t VC++, I have this Error message:
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
I am not sure if I do this correct ?
Last edited by Lukezzz; May 20th, 2008 at 12:45 pm.
•
•
Join Date: Mar 2008
Posts: 1,495
Reputation:
Solved Threads: 123
If it says 'Release' just to the right of the run (Start Debugging) icon then when you run or compile the project it will have compiled as release, but the reason I think you get the error message (Which I always used to get) is because the computer without MSVC doesn't have the correct netframe, thats the reason I started plain Win32 / MFC because .NET projects arent very portable.
Downloading http://www.microsoft.com/downloads/d...displaylang=en
should fix the problem on the other computer.
Downloading http://www.microsoft.com/downloads/d...displaylang=en
should fix the problem on the other computer.
I need pageviews! most fun profile ever :)
•
•
Join Date: Mar 2008
Posts: 173
Reputation:
Solved Threads: 1
Thank you... I downloaded the link. Unfortenately it was the version of 3.0 but when I upgraded it to 3.5 wich is the latest version, It did work great.
Thank you for help !!!
Thank you for help !!!
•
•
•
•
If it says 'Release' just to the right of the run (Start Debugging) icon then when you run or compile the project it will have compiled as release, but the reason I think you get the error message (Which I always used to get) is because the computer without MSVC doesn't have the correct netframe, thats the reason I started plain Win32 / MFC because .NET projects arent very portable.
Downloading http://www.microsoft.com/downloads/d...displaylang=en
should fix the problem on the other computer.
![]() |
Similar Threads
- Objects are not displaying in my program, also need to know how to work mouse clicks. (C++)
- Renew and Release IP Addresses (Windows tips 'n' tweaks)
- How to make a c++ program executable (C++)
- Program that takes an integer value and returns the number with digits reversed (C++)
- XP wont release CD's (Windows NT / 2000 / XP)
- New Release of VB dotnet (2005) (VB.NET)
- Google Referral Program (Search Engine Optimization)
- simple program tokenizer problem (Java)
Other Threads in the C++ Forum
- Previous Thread: problem of using eclipse
- Next Thread: classes
Views: 603 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for C++
6 add api array arrays beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete desktop directshow dll encryption error file forms fstream function functions game getline givemetehcodez google graph homeworkhelper iamthwee ifstream input int integer java lazy lib linkedlist linux loop looping loops map math matrix memory microsoft newbie news node number output parameter pointer problem program programming project proxy python random read recursion recursive reference return sort string strings struct studio system template templates test text tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






