100% found this document useful (1 vote)
241 views

Visual Programming Notes

This document discusses Visual Basic, an integrated development environment for creating graphical user interface applications. It provides three key points: 1. Visual Basic allows creating windows, dialog boxes, menus and connecting to the internet to simplify application development. 2. It uses object-oriented programming and an IDE to make application development easier compared to other languages. 3. The IDE contains elements like a menu bar, toolbar, toolbox, form designer, properties window, and project explorer to help design the user interface and write code for an application.

Uploaded by

Adilyt ytt
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
241 views

Visual Programming Notes

This document discusses Visual Basic, an integrated development environment for creating graphical user interface applications. It provides three key points: 1. Visual Basic allows creating windows, dialog boxes, menus and connecting to the internet to simplify application development. 2. It uses object-oriented programming and an IDE to make application development easier compared to other languages. 3. The IDE contains elements like a menu bar, toolbar, toolbox, form designer, properties window, and project explorer to help design the user interface and write code for an application.

Uploaded by

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

WhyChal

oExam?
1
.AI
-basedex
am oreachmodul
e
2.
Thr
ee-L
evelnot
esbasedonSt
udent
sAbi
l
ity
(
EasyNot
es|L
ect
ureNot
es|AdvancedNot
es)
3.
Inst
antDoubtSol
vinbyOurSubj
ectEx
per
t
4.
Sol
vedQuest
ionPaper
s(3t
o5year
)
5.
Previ
ousyearQuest
ionpaper
s(1
0year
s)
6.
ModelQuest
ionPaper
7.
Ski
l
lEnhancementPr
oram AsperNEPDi
rect
ive-
CyberSecur
it
y|Tr
avelandTour
ism
8.
IA-For
mat
iveEx
am AsperNEPDi
rect
ive

+919496699507
ForEnqui
res
1. Introduction
Visual Basic implements graphical user interface that allows the use of
graphics for different applications. I t provides visual interactive windows
with user, like Dialogue box for (color, font ...), Input box, and Output box.
Also it is able to create menu to simplify user application.

To run this program on user computer:


Start>programs>Microsoft Visual Studio 6.0>Microsoft Visual Basic 6.0.

It will appear on the computer screen as in the following picture.

To exit from Visual Basic and return to Windows is like exit from most
Windows applications. There are three ways to close the Visual Basic as
stated below.
1- Click on close button icon that appears in the upper-left corner of the
screen.
2- Press Alt+F4
3- Select File >Exit

1.2-The Importance of Visual Basic Program

Languages like Basic and Pascal depend on variables and procedures to


build the applications .This is why it is called procedural languages. The
new approach is called object programming for visual programs like Visual
Basic and Visual C++ and others. In this programming approach every thing
(form, command buttons, controls) is an object.
The reasons for of implementing Visual Basic program are listed as
follows:
1- It uses integrated development environment (IDE) which is easier for
the user to minimize code writing.

2
2- All visual programs follow the same concepts, therefore the user will
become more familiar with visual approach for other visual languages.
3- It provides Input box and Output box as an interactive windows with
user.
4- It is able to connect to Internet, and to call Explorer.

1.3- Elements of the Integrated Development Environment (IDE)


The IDE environment consists of many elements. Some elements are
displayed when Visual Basic is started (By default) as in the following
figure. Other elements are displayed if the user requires them. We will list
some of these elements.

a
b

c f

d
e

g
a- Menu Bar: It contains a standard command like: File, Edit, View,
Window, Help menus, and specific command such as: Project, Format, or
Debug menus.

b- Toolbar: it contains the most commonly used commands (button), if


clicked an action represented by that button is carried out.
c- ToolBox: it contains a collection of tools that are needed for project
design.

3
d- form Designer: it is a window for each form to customize the designed
interface of the application. Using the form designer, the user can add
controls, graphics, and text to create the desired form appearance.

e- Properties Window: it is a List of properties settings for a selected form or


a control. These properties are characteristics (such as size, visible, or color)
of the selected object it provides an easy way to set properties.

f- Project Explorer Window: it is a list of the forms and modules for the
current projects. lt is a hierarchical tree- branch structure, where the
project at top of tree and other parts like forms ,modules) descend from
this tree.

g- Form Layout Window: The Form Layout window is a small screen.


Which is used to reposition the form of the application so that it appears
in proper place when project is run.

h- Code Editor Window: Code Editor Window is used to write a VB code


for an application. For each form there is a separate code editor window.
It is displayed when user clicks on form or object in form.

To Create an Application
The title of program includes the name of project, and when the user first
starts the program it takes a defaulted value (projectl).It also includes resize

You might also like