You are on page 1of 7

INTRODUCTION TO VB

GETTING STARTED
• VB is windows application
• It is a Graphical User Interface(GUI)-
VB programs allows the use to
interact with mouse and keyboard to
get a job done.
• It has numerous tools for different
aspects that uses GUI interface.
• VB programmers develops an application
in 3 stages.
1. Produce GUI interface by drawing
objects onto forms.
2. Refine appearance and behavior of these
objects by setting their properties.
3. Identify action of user in using graphical
interface and attach code to events that
can subsequently occur.
• VB is basically event-driven programming and
IDE
1. Event Driven Programming
• VB eliminates codes that generate forms and
various other items.
• Programmers creates GUI and writes code to
describe what happens when user interacts
with GUI.
• Programming the code responds to the events
is called an event- driven programming
2.Integrated Development Environment
(IDE)
• With the help of this a programmer can
create, run and debug windows
application without need to open
additional programs.
DOCUMENT INTERFACE MODES
• Single document interface(SDI)
• Multiple document interface(MDI)
SDI is a method of organizing GUI application
into individual windows that the operating systems
window manager handles separately.
 They are free to move anywhere on screen
 Part of the desktop will be shown behind.
 It doesn’t contain background / parent window
which may contain menu/ toolbar.
MDI
• An MDI application has a window within
which multiple MDI child windows can
be opened, each containing separate
document.
• Most of the application in VB have
various forms.
• These forms are independent of each
other and are displayed separately on the
screen.

You might also like