Get Adobe Flash player

When you start Visual Basic you will see a welcome screen with a toolbar and buttons along the top. Notice the words File, Edit, Tools, Window, and Help. When instructions say to select from the menu, the instructions will always start with one of these buttons, followed by a list of sub-menus, separated by commas. If you must click a button, there will be a picture of the button in the instructions.

Start a new project

We will try that now to start a new project. From the menu select File, New Project, Windows Form Application new form, or click New Project (new project), then select new form

Form1

After making these selections, you will see form1 in the middle of the screen. (You may also see other windows, especially if it was not just installed.)
You will also notice that the toolbar (below the menu) has changed. Buttons that were disabled previously (gray) are now enabled (in color.) Move your mouse over these buttons, notice that a "tool tip" appears telling you what each of these buttons does.


Run

Click the start debugging button start debugging to run the program. Congratulations! You have just created a Windows application! (You can close this application by clicking the X in the top right corner of the Form1 that is running. Don't close Visual Basic.)

INDEX, What is Visual Basic?, What do I need?, Your first Program: Hello World, Changing Properties at Design Time, Self Study Questions
Next lesson: Controls in Visual Basic

Copyright © Zebra0.com
All rights reserved worldwide.

 
 

Your first Program: Hello World