Click here to Skip to main content
15,614,421 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi everybody

I have a vb 2008 code project i need to build the exe file

how could I do this please note that our clients do not have visual basic 2008 how can I build the exe file of vb 2008 project and run it in other machines where visual basc 2008 is not installed


You do not need to have VS installed on the client computers. Client machines should have .Net Framework installed on them.

When you build the project in release mode, you can find the exe files in bin/release folder.

You should create a set up project in VS2008 and mark .Net framework as a pre requisite. This should install the framework on client computer is needed. Check out MSDN on how to create set projects.
Share this answer
nourbt 27-Jun-11 3:16am    
I Build my project the I checked the URL
but in the bin->Release what I found is PDB FILE

what should I do?
Dave Kreskowiak 27-Jun-11 15:35pm    
Did you check in the bin->Debug folder for the .EXE?? If your project compiles wihtout errors, you should find the .EXE in the folder that corresponds to the Configuration you built. You may think you're building the Release version when you're really building the Debug version. It won't compile both at the same time for you.
The client should not be installing VS2008 - all they should need is the runtime framework.
You need to build the exe on your machine and then deploy (copy) it on the client PC.
Share this answer
nourbt 27-Jun-11 1:58am    
ok how should I build the runnable exe on my machine
Abhinav S 27-Jun-11 12:50pm    
In Visual Studio, open the project, build and then check in the bin folder. There should be an exe available.
To follow up on d@nish's solution here is the MSDN link to deploying your project. the article explains the steps to creating an installer package for your project.

Windows Installer Deployment Tasks VS 2008:[^]
Share this answer

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