Dreevoo.com | Online Learning and Knowledge Sharing
 
Home | Programs | Programming languages | Visual Basic | Save and compile your Visual Basic 2010 Project
Guest
Click to view your profile
Topics
Programs
Languages
Recipes
Home
Shortcuts
 
 

Save and compile your Visual Basic 2010 Project

We're going to save and create an .exe file to be able to run the application independently on every supported Windows computer.

 
  Author: mat | Version: 2010 | 24th October 2011 |  
 
 
1.
 

Click here for the lesson on how to make your first Visual Basic application.

First, let's save our little project.


In the menu click File ...


 
 
2.
 

... and choose Save All (Ctrl + Shift + S for the keyboard shortcut).

 
 
3.
 

Enter your Project name, choose the Location where you want to save it and click Save.

 
 
4.
 

Let's compile the Project.

In the menu click Debug and choose Build 'Your project name'.

 
 
5.
 

Let's see where your project is save in case you forgot.

Right click your .vb program file in the Solution Explorer...

 
 
6.
 

...and choose Properties.

 
 
7.
 

Now the file properties should show up. In the Full Path field you can see the Path to your project.

 
 
8.
 

Open the Windows Explorer and browse to that path (copy/paste it). Click to open bin folder and then Release folder. In the Release folder you should be able to find the .exe file version of your application.

Copy Text App.exe in my case.

Double click it...

 
 
9.
 

...it should start immediately on it's own.

Your application should now be able to run all the all supported Windows computers.

Any question or comments? Please don't hesitate to use the Forum.

 
 
 
   
  Please login to post a comment
   
 
 
online learning made for people
Dreevoo.com | CONTRIBUTE | FORUM | INFO