Click here to Skip to main content
15,913,941 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi guys.

I would like to know on how I can make my project executable to another PC. I am using Visual Studio 2012, Crystal Report and Microsoft SQL for my database.

I really need this, please.

Thanks in advance!
Posted
Comments
Sergey Alexandrovich Kryukov 22-Jan-15 11:28am    
The process of "making executable to another PC" is called "programming".
—SA

1 solution

The basic requirement would be to produce a setup program to install the application and all it's dependencies on the "new" computer: look at adding a "Setup and Deployment" project to your solution - it's under "Other project types" in the Visual Studio "Add New Project" dialog - you may need to install "Install Shield" or similar to get it to work.

That will install you app, and make sure that the right .NET framework is installed, and all the DLL files you all needs.

But that doesn't mean the app will work: some of that will be down to you, particularly if you are using SQL Server - your connections string must be configured to "point" at the right instance, and that is unlikely to be the same as the installation on your development machine (in practice, it had better damn well not be or you will be in big trouble when you make a mistake: never, ever develop against the production database!)

You may have to work to find the right instance and DB, or rethink your app to see if you could use a single-user database instead or SQL server.
 
Share this answer
 
Comments
DarkDreamer08 22-Jan-15 11:52am    
my project is a client server system. I need to make my project executable to other PC for them to run it. as for my database, it is on a server. I somehow did not understand your above explanation, but I will re-read it for me to be able to understand it

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900