SlideShare a Scribd company logo
In the name of
Almighty,
Most Gracious,
Most Merciful
Learn Visual Basic 6.0
SYLLABUS
VISUAL PROGRAMMING WITH RDBMS
UNIT-I
Visual Basic Environment: Integrated Development Environment(IDE) – Title Bar-
Menu Bar – Tool Bar – Text Box – Initial Form Window – Project Explorer –
Properties Window and Code Window.
Presented
by
A. ASHRAF ALI
Assistant Professor
Department of
Computer Science
The New College
1. Introduction to the Visual Basic Language and Environment :
Visual Basic implements graphical user interface that allows the use of graphics for different
applications. It 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
What is Visual Basic?
 Visual Basic is a tool that allows you to develop Windows
(Graphic User Interface - GUI) applications. The applications have a
familiar appearance to the user.
 Visual Basic is event-driven, meaning code remains idle until called upon to
respond to some event (button pressing, menu selection, ...). Visual Basic is
governed by an event processor. Nothing happens until an event is detected.
Once an event is detected, the code corresponding to that event (event
procedure) is executed. Program control is then returned to the event processor.
2. Some Features of Visual Basic :
 Visual Basic is GUI (Graphic User Interface - GUI)
 VB is Interpreter
 VB is RAD (Rapid Application Development)
 VB is Faster Application Development
 Response to mouse and keyboard actions
 Clipboard and printer access
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- Menu Bar: It contains a standard command like: File, Edit, View, Window, Help menus, and specific
command such as: Project, Format, or Debug menus. Figure is given below…..
File Commands for saving, importing, exporting and removing files.
Edit Commands for formatting and writing code in the code editor.
View Commands for showing and hiding the different components.
Insert Commands for inserting subroutines, functions and different types of modules.
Format Commands for designing and arranging controls on a User Form.
Debug Commands for debugging and stepping through code.
Run Commands for testing code and displaying user forms.
Tools Commands for accessing additional references and user options.
Add-ins Commands for loading and unloading additional COM add-ins.
Window Commands for quickly switching between all the open windows.
Help Commands for accessing the built-in help files
b- Toolbar: It contains the most commonly used commands (button), if clicked an action represented by that
button is carried out. Figure is given below…..
c- ToolBox: It contains a collection of tools that are needed for project design.
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. Figure is given below…..
f- Project Explorer Window: It is a list of the forms and modules for the current projects. It
is a hierarchical tree- branch structure, where the project at top of tree and other parts like
forms ,modules) descend from this tree. Figure is given below…..
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.
INTEGRATED DEVELOPMENT ENVIRONMENT (IDE)
Thank
You

More Related Content

Similar to Visual Programming

hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptxhjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
EliasPetros
 
Visual basic 6.0
Visual basic 6.0Visual basic 6.0
Visual basic 6.0
sanket1996
 
Vb.net ide
Vb.net ideVb.net ide
Vb.net ide
Faisal Aziz
 
Meaning Of VB
Meaning Of VBMeaning Of VB
Meaning Of VB
Mohit Verma
 
Visual basic concepts
Visual basic conceptsVisual basic concepts
Visual basic concepts
melody77776
 
VB6_INTRODUCTION.ppt
VB6_INTRODUCTION.pptVB6_INTRODUCTION.ppt
VB6_INTRODUCTION.ppt
BhuvanaR13
 
Vb lecture
Vb lectureVb lecture
Vb lecture
alldesign
 
Vb unit t 1.1
Vb unit t 1.1Vb unit t 1.1
Vb unit t 1.1
Gayathri Cit
 
vb.pptx
vb.pptxvb.pptx
vb.pptx
CherryLim21
 
vb-160518151614.pdf
vb-160518151614.pdfvb-160518151614.pdf
vb-160518151614.pdf
LimEchYrr
 
vb-160518151614.pptx
vb-160518151614.pptxvb-160518151614.pptx
vb-160518151614.pptx
LimEchYrr
 
Visual basic
Visual basicVisual basic
Visual basic
umesh patil
 
Programming basics
Programming basicsProgramming basics
Programming basics
Senri DLN
 
Vb basics
Vb basicsVb basics
Vb basics
sagaroceanic11
 
VISUAL PROGRAMMING
VISUAL PROGRAMMINGVISUAL PROGRAMMING
VISUAL PROGRAMMING
SarithaDhanapal
 
visual basic for the beginner
visual basic for the beginnervisual basic for the beginner
visual basic for the beginner
Salim M
 
Ch02 bronson
Ch02 bronsonCh02 bronson
Ch02 bronson
Bharathi N Reddy
 
Future Scope in Application Developement of Visual Basic
Future Scope in Application Developement of Visual BasicFuture Scope in Application Developement of Visual Basic
Future Scope in Application Developement of Visual Basic
ijtsrd
 
Visual basic
Visual basic Visual basic
Visual basic
Shabista Imam
 
Login Project with introduction .pptx
Login Project with introduction .pptxLogin Project with introduction .pptx
Login Project with introduction .pptx
kulmiyealiabdille
 

Similar to Visual Programming (20)

hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptxhjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
 
Visual basic 6.0
Visual basic 6.0Visual basic 6.0
Visual basic 6.0
 
Vb.net ide
Vb.net ideVb.net ide
Vb.net ide
 
Meaning Of VB
Meaning Of VBMeaning Of VB
Meaning Of VB
 
Visual basic concepts
Visual basic conceptsVisual basic concepts
Visual basic concepts
 
VB6_INTRODUCTION.ppt
VB6_INTRODUCTION.pptVB6_INTRODUCTION.ppt
VB6_INTRODUCTION.ppt
 
Vb lecture
Vb lectureVb lecture
Vb lecture
 
Vb unit t 1.1
Vb unit t 1.1Vb unit t 1.1
Vb unit t 1.1
 
vb.pptx
vb.pptxvb.pptx
vb.pptx
 
vb-160518151614.pdf
vb-160518151614.pdfvb-160518151614.pdf
vb-160518151614.pdf
 
vb-160518151614.pptx
vb-160518151614.pptxvb-160518151614.pptx
vb-160518151614.pptx
 
Visual basic
Visual basicVisual basic
Visual basic
 
Programming basics
Programming basicsProgramming basics
Programming basics
 
Vb basics
Vb basicsVb basics
Vb basics
 
VISUAL PROGRAMMING
VISUAL PROGRAMMINGVISUAL PROGRAMMING
VISUAL PROGRAMMING
 
visual basic for the beginner
visual basic for the beginnervisual basic for the beginner
visual basic for the beginner
 
Ch02 bronson
Ch02 bronsonCh02 bronson
Ch02 bronson
 
Future Scope in Application Developement of Visual Basic
Future Scope in Application Developement of Visual BasicFuture Scope in Application Developement of Visual Basic
Future Scope in Application Developement of Visual Basic
 
Visual basic
Visual basic Visual basic
Visual basic
 
Login Project with introduction .pptx
Login Project with introduction .pptxLogin Project with introduction .pptx
Login Project with introduction .pptx
 

Recently uploaded

বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
NgcHiNguyn25
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 

Recently uploaded (20)

বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Life upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for studentLife upper-Intermediate B2 Workbook for student
Life upper-Intermediate B2 Workbook for student
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 

Visual Programming

  • 1. In the name of Almighty, Most Gracious, Most Merciful
  • 3. SYLLABUS VISUAL PROGRAMMING WITH RDBMS UNIT-I Visual Basic Environment: Integrated Development Environment(IDE) – Title Bar- Menu Bar – Tool Bar – Text Box – Initial Form Window – Project Explorer – Properties Window and Code Window.
  • 4. Presented by A. ASHRAF ALI Assistant Professor Department of Computer Science The New College
  • 5. 1. Introduction to the Visual Basic Language and Environment : Visual Basic implements graphical user interface that allows the use of graphics for different applications. It 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…
  • 6. 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
  • 7. What is Visual Basic?  Visual Basic is a tool that allows you to develop Windows (Graphic User Interface - GUI) applications. The applications have a familiar appearance to the user.  Visual Basic is event-driven, meaning code remains idle until called upon to respond to some event (button pressing, menu selection, ...). Visual Basic is governed by an event processor. Nothing happens until an event is detected. Once an event is detected, the code corresponding to that event (event procedure) is executed. Program control is then returned to the event processor.
  • 8. 2. Some Features of Visual Basic :  Visual Basic is GUI (Graphic User Interface - GUI)  VB is Interpreter  VB is RAD (Rapid Application Development)  VB is Faster Application Development  Response to mouse and keyboard actions  Clipboard and printer access
  • 9. 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.
  • 10. 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. Figure is given below….. File Commands for saving, importing, exporting and removing files. Edit Commands for formatting and writing code in the code editor. View Commands for showing and hiding the different components. Insert Commands for inserting subroutines, functions and different types of modules. Format Commands for designing and arranging controls on a User Form. Debug Commands for debugging and stepping through code. Run Commands for testing code and displaying user forms. Tools Commands for accessing additional references and user options. Add-ins Commands for loading and unloading additional COM add-ins. Window Commands for quickly switching between all the open windows. Help Commands for accessing the built-in help files
  • 11. b- Toolbar: It contains the most commonly used commands (button), if clicked an action represented by that button is carried out. Figure is given below….. c- ToolBox: It contains a collection of tools that are needed for project design. 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.
  • 12. 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. Figure is given below…..
  • 13. f- Project Explorer Window: It is a list of the forms and modules for the current projects. It is a hierarchical tree- branch structure, where the project at top of tree and other parts like forms ,modules) descend from this tree. Figure is given below….. 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.
  • 14. 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.