Tuesday, July 19, 2011

Starting Visual Basic.Net (2008 version)

Follow these easy steps:
Step 1: Open your VB.Net Software
Launch your Visual Basic .NET or Visual Studio software. When the software first loads, you'll see a screen something like this one:
This is the Start Page. (View Image)

This is where you can start a new project, or open an existing one. If you have created numerous projects before, you'll see it under the Recent Projects block located on the left side.

Below this, you will see two links : Open Project and Create Project. Open Project link is used to open an existing project while Create Project link is used to create a new project. 

When you create a project, the Name you gave it will be displayed on this page, as a hyperlink just like what you see under Recent Projects block. Clicking the link will open the project. 

Step 2: Create New or Open Project



To get started, click the Create Project link or Go to File > New > Project. When you do, you'll see the dialogue box appear (View Image).


By Default, the selected project type on the window is Windows Form Application. This means that you're going to be designing a Window type program to run on a computer running the Microsoft Windows operating system.

If you would like to create a web application, you can select Web > ASP.Net Web Application.


Step 3: Enter Project Name

The default name for your project is   "WindowsApplication1" but you can change this to your desired project name. For example we'll going to change this to My First Project.

The default location is located in your "My Documents" folder called "Visual Studio Projects". All of your files for your first project are then saved in this folder. You can keep the Location the same as the default but you can also change this to your desired location.  

A new folder will then be created for you, and its name will be the same as the one you typed in the "Name" textbox. 


Step 4: Click OK button

Click the OK button, and the Visual Basic NET design time environment will open. It will look like the following :


This is the Default Form (View Image).

This is actually your program. Whatever you see on this form, its size, color and its contents, this is exactly what your program looks like.


Step 5: Run the Program
To run the form, click Debug > Start or Press F5 or , your program 
will look like this (View Image).


Congratulations! You have just made your first Windows Application Program .

Visual Basic.Net Online Programming