0% found this document useful (0 votes)
30 views

Visual Basic 6.0

The document discusses the visual basic 6.0 programming environment, which consists of seven main windows: the menu bar, toolbar, toolbox, form window, code window, project window/explorer, and properties window. The toolbox contains all the controls that can be inserted into forms, such as labels, text boxes, and frames. The form window is where the graphical user interface is designed using these controls. The code window acts as an editor for programming code. The project explorer displays all files linked to an application.

Uploaded by

kathir kathir
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Visual Basic 6.0

The document discusses the visual basic 6.0 programming environment, which consists of seven main windows: the menu bar, toolbar, toolbox, form window, code window, project window/explorer, and properties window. The toolbox contains all the controls that can be inserted into forms, such as labels, text boxes, and frames. The form window is where the graphical user interface is designed using these controls. The code window acts as an editor for programming code. The project explorer displays all files linked to an application.

Uploaded by

kathir kathir
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Visual basic 6.

0 programming environment
In this task I will explain the environment which visual basic 6.0 uses to make the
programming easier for the programmer.

What is Visual Basic?

The word “Visual” refers to the way the Graphical User Interface (GUI) is designed.
With some programming languages you have to design the GUI’s by writing lots of code
to describe everything about the GUI (for example appearance, location of controls, how
to display the controls, etc). But with Visual Basic all you have to do is select the control
you want and draw it on the form. This is also known as object orientated programming.

The word basic stands for Beginners All-Purpose Symbolic Instruction Code which
refers to the coding section of the software. The actual code is very simple to use as it is
just a large section of English word to do a certain task.

The Visual Basic 6.0 programming environment.

The Visual Basic environment consists of seven main windows which are listed as
follows and explained in fig 1.0

1. Menu Bar
2. Toolbar
3. Toolbox
4. Form window
5. Code window
6. Project window/ explorer
7. Properties window

PDF Creator - PDF4Free v2.0 http://www.pdf4free.com


The menu bar- Displays the The toolbar- Provide quick
Toolbox- this is where all the commands you use to work with access to commonly used
controls in visual basic are Visual Basic. Including File, Edit, commands in the programming
show and inserted into the View, Window, Project, Format, environment.
forms. Debug, help, etc.

Fig 1.0

The form window- this Properties window- Lists the


window is where the GUI is property settings for the
designed that will enable the selected form or control. A
user to interact with the property is a characteristic of an
application. object, such as size, caption, or
color.
The code window- this window Form layout window- The Form
acts as a code editor for adding, Layout window allows you to
editing, or deleting code. position the forms in your
application using a small graphical
representation of the screen.

PDF Creator - PDF4Free v2.0 http://www.pdf4free.com


The project explorer window

Fig 1.1

The project explorer window (Fig 1.1) displays the entire files linked with an application.
This project contains 4 forms.

The Toolbox

Fig 1.2

The toolbox contains the tools you use to draw controls (or components) on your forms.

Pointer

PDF Creator - PDF4Free v2.0 http://www.pdf4free.com


The only item in the Toolbox that doesn't draw a control. When you pick the pointer, you
can only resize or move a control that has already been drawn on a form.

Picture box

This is use to display graphical images as a container to input pictures.

Label

Allows you to have text that you don't want the user to change, such as a caption under a
graphic.

Text box

This control holds text that the user can change. Can be used for output or input.

Frame

Allows you to create a graphical or functional grouping for controls. To group controls,
draw the Frame first, and then draw controls inside the frame.

There are other controls on the toolbox.

PDF Creator - PDF4Free v2.0 http://www.pdf4free.com


Menu bar

Displays the commands you use to work with Visual Basic. Besides the standard save,
new, open, copy, and paste button, buttons are provided to access functions specific to
programming such as Play (Run), Project explorer, or Debug.

Form window

Acts as a window that you customize to design the interface of your application. You add
controls, graphics, and pictures to a form to create the look you want. Each form has its
own form designer window.

Code editor

PDF Creator - PDF4Free v2.0 http://www.pdf4free.com


This window is where you insert your coding for a form.

PDF Creator - PDF4Free v2.0 http://www.pdf4free.com

You might also like