Wednesday, 21 December 2011

Visual basic tutriol 1


The first thing you do is,
Run the Visual Basic program. The first thing you see is:
first 1 Getting started with Visual basic 6
Here you choose what is the kind of the program you want to create.
For creating a simple Visual Basic program, choose the Standard EXE,
and press the Open Button.
(If the above figure is not the first thing you see when you run Visual Basic,
choose from the Visual Basic menu File->New Project)
After you’ve clicked the Open button, you will see:

first 3 Getting started with Visual basic 6
Look at the form with the title bar Form1.
This is how your program will look like.
Everything you will place on this form will appear in your program.
As you can see, your form is currently empty.
You didn’t program anything yet, but lets run the program!
Click on the Play button in the toolbar.
first 4 Getting started with Visual basic 6
Now your program is running like this.
first 5 Getting started with Visual basic 6
As you can see, the form is empty.
You can move the form, minimize and maximize it.
To stop the program from running, you can click on the Stop button
in the Toolbar, or click the form’s X button.
It’s very recommended that you will always close your programs using the
form’s X button instead of the Visual Basic Stop button.
It’s like shutting Windows From the Start button, instead of Pressing
the Power button.
first 6 Getting started with Visual basic 6
first 7 Getting started with Visual basic 6
In my next post, you’ll be learning about window properties.

No comments:

Post a Comment