Program Release

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Mar 2008
Posts: 173
Reputation: Lukezzz is an unknown quantity at this point 
Solved Threads: 1
Lukezzz Lukezzz is offline Offline
Junior Poster

Program Release

 
0
  #1
May 20th, 2008
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 ?
Last edited by Lukezzz; May 20th, 2008 at 11:17 am.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 1,495
Reputation: William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of 
Solved Threads: 123
Sponsor
William Hemsworth William Hemsworth is offline Offline
Nearly a Posting Virtuoso

Re: Program Release

 
0
  #2
May 20th, 2008
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 :)
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 1,495
Reputation: William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of 
Solved Threads: 123
Sponsor
William Hemsworth William Hemsworth is offline Offline
Nearly a Posting Virtuoso

Re: Program Release

 
0
  #3
May 20th, 2008
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 :)
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 173
Reputation: Lukezzz is an unknown quantity at this point 
Solved Threads: 1
Lukezzz Lukezzz is offline Offline
Junior Poster

Re: Program Release

 
0
  #4
May 20th, 2008
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 ?


Originally Posted by williamhemswort View Post
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'
Last edited by Lukezzz; May 20th, 2008 at 12:45 pm.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 1,495
Reputation: William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of 
Solved Threads: 123
Sponsor
William Hemsworth William Hemsworth is offline Offline
Nearly a Posting Virtuoso

Re: Program Release

 
0
  #5
May 20th, 2008
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.
I need pageviews! most fun profile ever :)
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 173
Reputation: Lukezzz is an unknown quantity at this point 
Solved Threads: 1
Lukezzz Lukezzz is offline Offline
Junior Poster

Re: Program Release

 
0
  #6
May 20th, 2008
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 !!!

Originally Posted by williamhemswort View Post
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.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:




Views: 603 | Replies: 5
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC