0% found this document useful (0 votes)
4 views11 pages

Visual Basic Programming Basics

This document introduces Visual Basic and provides steps for creating a simple first program. It explains the Visual Basic IDE and environment. It instructs the reader to insert a label and command button on a form, then double click the form to open the code window. The reader is guided to insert additional labels and text boxes, name the command button "OK", and adjust properties. The steps demonstrate how to design an interface, set control properties, and write event procedures to create a basic Visual Basic application.

Uploaded by

AbdulBasit
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views11 pages

Visual Basic Programming Basics

This document introduces Visual Basic and provides steps for creating a simple first program. It explains the Visual Basic IDE and environment. It instructs the reader to insert a label and command button on a form, then double click the form to open the code window. The reader is guided to insert additional labels and text boxes, name the command button "OK", and adjust properties. The steps demonstrate how to design an interface, set control properties, and write event procedures to create a basic Visual Basic application.

Uploaded by

AbdulBasit
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd

Introduction to Visual Basic

Chulantha Kulasekere

VB IDE

Explanation of IDE
Project: A collection of files for easy
management.
[Link]: Should be used if the file is
an executable.
It will open a blank form to write your
application.

VB Environment

Creating Your First Program


Insert a LABEL
and a
COMMAND
button on the
form
Double click on
the FORM to
open the CODE
Window.

Creating Your First Program


Object box

The drop down


menues will
show the items
you inserted in
the form.

Procedure box

Display Data OnClick

Writing a VB Application
There are three basic steps to write a
program.
Step 1 : Design the interface
Step 2 : Set Properties of the controls
(Objects)
Step 3 : Write the events' procedures

Writing the Application


Insert three labels and change the names.
Use the properties window to adjust the
height and width.
Insert three text boxes and given names
as well.
Insert a command button and also do the
same. Change its name and caption to OK
in the properties window.
Change location to make GUI attractive.

Result

The Program

You might also like