SlideShare uma empresa Scribd logo
1 de 23
INTRODUCTION TO
Introduction to Visual Basic 6.0
 What is Visual Basic?
Visual Basic is a third-generation event-driven
programming language and Integrated Development
Programming (IDE) first released by Microsoft in 1991 for
its COM Programming Model . It evolved from the earlier
DOS version called BASIC. BASIC means :-
Beginners' All-purpose Symbolic Instruction Code.
then Microsoft has released many versions of Visual Basic,
from Visual Basic 1.0 to the final version Visual Basic 6.0.
Visual Basic is a user-friendly programming language
designed for beginners, and it enables anyone to develop
GUI window applications easily.
History of Visual Basic
• Alan Cooper developed Visual Basic in 1988 and
sold to Microsoft
• VB1 Debuts at Windows World in March 20,1991
• VB2 Debuts in November 1992
• VB3 Debuts in June 1993
• VB4 Debuts in October 1996
• VB5 Debuts in April 1997
• VB6 Debuts in October 1998
Three Editions of Visual Basic
1. The Visual Basic Learning edition is the
introductory edition that lets you easily
create Windows applications.
2. The Visual Basic Professional Edition is for
computer professionals and has features
such as tools to develop ActiveX and
Internet controls.
3. The Visual Basic Enterprise edition is the
most advanced edition and is aimed to
programmers who build distributed
applications in a team environment.
Types of applications created
in VB 6.0
1. Standard EXE
2. ActiveX EXE, ActiveX DLL
3. ActiveX Control
4. VB Application Wizard ,VB Wizard Manager
5. ActiveX Document EXE, ActiveX Document DLL
6. AddIn
7. Data Project
8. DHTML Application
9. IIS Application
10. VB Enterprise Edition Controls
Features Of Visual Basic
1. It is a simple language.
2. It supports Integrated Development Environment(IDE), as
multiple projects can be opened.
3. The lines of codes are Compiled Automatically with a faster
compiler.
4. It completes the word automatically.
5. Bookmarks can be placed for quick search.
6. Break points can be toggled easily.
7. Drag and drop facility Clipboard and printer access.
8. Handle fixed and dynamic variable and control arrays.
9. Sequential random access file, and Binary access file
support.
10. Useful debugger and error handling facilities.
Advantages of Visual Basic
A. The structure of the Basic programming language is very simple,
particularly as to the executable code.
B. VB is not only a language but primarily an integrated, interactive
development environment ("IDE").
C. The VB-IDE has been highly optimized to support rapid application
development ("RAD"). It is particularly easy to develop graphical
user interfaces and to connect them to handler functions provided
by the application.
D. The graphical user interface of the VB-IDE provides intuitively
appealing views for the management of the program structure in
the large and the various types of entities (classes, modules,
procedures, forms).
E. VB is attuned to Microsoft’s Computer Object Model(“COM”).
Starting Visual Basic 6.0
Visual Basic 6.0 Programming Window
1. Title bar:- The top of the window with the
name of the project.
2. The Menu Bar:- Displays the commands
required to build an application.
3. The Tool Bars:- Provides shortcut icons for
quick access to the commonly used
commands.
4. The Project Explorer window:- It shows the various
elements of a project namely form, classes and modules.
5. The Properties Window:- Exposes the various
characteristics of selected objects
While your project is running, the user can do many things,
such as move mouse around; click on either button; move,
resize or close your form’s window; or jump to another
application. Each action by the user causes an event to occur
in your Visual Basic Project.
VB ignores events for which no procedures are written.
Visual Basic automatically names your event procedures. The
name consist of the object name, an underscore(_), and the
name of event. For example: the click event of command
button called cmdPush will be cmdPush_Click().
MOUSE EVENTS KEYBOARD EVENTS
FOCUS EVENTS
Data types
supported
VARIABLES
DECLARING VARIABLES
EXPLICIT
DECLARATION
IMPLICIT
DECLARARTION
USING OPTION
EXPLICIT
STATEMENT
CONSTANTS
OPERATORS
ARITHMETIC OPERATORS
RELATIONAL OPERATORS
LOGICAL OPERATORS
TYPE CONVERSIONS

Mais conteúdo relacionado

Mais procurados (20)

Introduction to programming using Visual Basic 6
Introduction to programming using Visual Basic 6Introduction to programming using Visual Basic 6
Introduction to programming using Visual Basic 6
 
Introduction to Visual Basic
Introduction to Visual Basic Introduction to Visual Basic
Introduction to Visual Basic
 
visual basic v6 introduction
visual basic v6 introductionvisual basic v6 introduction
visual basic v6 introduction
 
Lecture 1 introduction to vb.net
Lecture 1   introduction to vb.netLecture 1   introduction to vb.net
Lecture 1 introduction to vb.net
 
Visual basic
Visual basicVisual basic
Visual basic
 
Visual basic ppt for tutorials computer
Visual basic ppt for tutorials computerVisual basic ppt for tutorials computer
Visual basic ppt for tutorials computer
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer Programming
 
visual basic programming
visual basic programmingvisual basic programming
visual basic programming
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
Vb6.0 Introduction
Vb6.0 IntroductionVb6.0 Introduction
Vb6.0 Introduction
 
Meaning Of VB
Meaning Of VBMeaning Of VB
Meaning Of VB
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
 
Integrated Development Environments (IDE)
Integrated Development Environments (IDE) Integrated Development Environments (IDE)
Integrated Development Environments (IDE)
 
Visual Programming
Visual ProgrammingVisual Programming
Visual Programming
 
Visual basic 6.0
Visual basic 6.0Visual basic 6.0
Visual basic 6.0
 
Visual programming lecture
Visual programming lecture Visual programming lecture
Visual programming lecture
 
VB Function and procedure
VB Function and procedureVB Function and procedure
VB Function and procedure
 
Introduction to java programming part 1
Introduction to java programming part 1Introduction to java programming part 1
Introduction to java programming part 1
 
Vb basics
Vb basicsVb basics
Vb basics
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
 

Semelhante a Introduction to Visual Basic 6.0 Fundamentals

vb-160518151614.pdf
vb-160518151614.pdfvb-160518151614.pdf
vb-160518151614.pdfLimEchYrr
 
vb-160518151614.pptx
vb-160518151614.pptxvb-160518151614.pptx
vb-160518151614.pptxLimEchYrr
 
Programming basics
Programming basicsProgramming basics
Programming basicsSenri DLN
 
Book HH- vb2008me preview
Book   HH- vb2008me previewBook   HH- vb2008me preview
Book HH- vb2008me previewSatya Harish
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.netJaya Kumari
 
LESSON 1- VISUAL BASIC PROGRAMMING.ppt
LESSON 1- VISUAL BASIC PROGRAMMING.pptLESSON 1- VISUAL BASIC PROGRAMMING.ppt
LESSON 1- VISUAL BASIC PROGRAMMING.pptChristopherOlaya1
 
Lesson 4 Introduction to Human Computer Interaction.pptx
Lesson 4 Introduction to Human Computer Interaction.pptxLesson 4 Introduction to Human Computer Interaction.pptx
Lesson 4 Introduction to Human Computer Interaction.pptxEllenGracePorras
 
Class viii ch-7 visual basic 2008
Class  viii ch-7 visual basic 2008Class  viii ch-7 visual basic 2008
Class viii ch-7 visual basic 2008jessandy
 
Login Project with introduction .pptx
Login Project with introduction .pptxLogin Project with introduction .pptx
Login Project with introduction .pptxkulmiyealiabdille
 
Chapter 01
Chapter 01Chapter 01
Chapter 01llmeade
 
.Net Technologies Lesson 1.pptx
.Net Technologies Lesson 1.pptx.Net Technologies Lesson 1.pptx
.Net Technologies Lesson 1.pptxEllenGracePorras
 
VB6_INTRODUCTION.ppt
VB6_INTRODUCTION.pptVB6_INTRODUCTION.ppt
VB6_INTRODUCTION.pptBhuvanaR13
 
Overview of .Net Framework
Overview of .Net FrameworkOverview of .Net Framework
Overview of .Net FrameworkNeha Singh
 
Unit -II Introduction to visual programming.pdf
Unit -II Introduction to visual programming.pdfUnit -II Introduction to visual programming.pdf
Unit -II Introduction to visual programming.pdfUjwala Junghare
 

Semelhante a Introduction to Visual Basic 6.0 Fundamentals (20)

Vb lecture
Vb lectureVb lecture
Vb lecture
 
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
 
Programming basics
Programming basicsProgramming basics
Programming basics
 
Mca 504 dotnet_unit1
Mca 504 dotnet_unit1Mca 504 dotnet_unit1
Mca 504 dotnet_unit1
 
Vb unit t 1.1
Vb unit t 1.1Vb unit t 1.1
Vb unit t 1.1
 
Book HH- vb2008me preview
Book   HH- vb2008me previewBook   HH- vb2008me preview
Book HH- vb2008me preview
 
Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
 
LESSON 1- VISUAL BASIC PROGRAMMING.ppt
LESSON 1- VISUAL BASIC PROGRAMMING.pptLESSON 1- VISUAL BASIC PROGRAMMING.ppt
LESSON 1- VISUAL BASIC PROGRAMMING.ppt
 
Lesson 4 Introduction to Human Computer Interaction.pptx
Lesson 4 Introduction to Human Computer Interaction.pptxLesson 4 Introduction to Human Computer Interaction.pptx
Lesson 4 Introduction to Human Computer Interaction.pptx
 
Class viii ch-7 visual basic 2008
Class  viii ch-7 visual basic 2008Class  viii ch-7 visual basic 2008
Class viii ch-7 visual basic 2008
 
Login Project with introduction .pptx
Login Project with introduction .pptxLogin Project with introduction .pptx
Login Project with introduction .pptx
 
Chapter 01
Chapter 01Chapter 01
Chapter 01
 
.Net Technologies Lesson 1.pptx
.Net Technologies Lesson 1.pptx.Net Technologies Lesson 1.pptx
.Net Technologies Lesson 1.pptx
 
Ch02 bronson
Ch02 bronsonCh02 bronson
Ch02 bronson
 
VB6_INTRODUCTION.ppt
VB6_INTRODUCTION.pptVB6_INTRODUCTION.ppt
VB6_INTRODUCTION.ppt
 
Overview of .Net Framework
Overview of .Net FrameworkOverview of .Net Framework
Overview of .Net Framework
 
Vb.net class notes
Vb.net class notesVb.net class notes
Vb.net class notes
 
Unit -II Introduction to visual programming.pdf
Unit -II Introduction to visual programming.pdfUnit -II Introduction to visual programming.pdf
Unit -II Introduction to visual programming.pdf
 

Último

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...RKavithamani
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 

Último (20)

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
Privatization and Disinvestment - Meaning, Objectives, Advantages and Disadva...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 

Introduction to Visual Basic 6.0 Fundamentals

  • 2. Introduction to Visual Basic 6.0  What is Visual Basic? Visual Basic is a third-generation event-driven programming language and Integrated Development Programming (IDE) first released by Microsoft in 1991 for its COM Programming Model . It evolved from the earlier DOS version called BASIC. BASIC means :- Beginners' All-purpose Symbolic Instruction Code. then Microsoft has released many versions of Visual Basic, from Visual Basic 1.0 to the final version Visual Basic 6.0. Visual Basic is a user-friendly programming language designed for beginners, and it enables anyone to develop GUI window applications easily.
  • 3. History of Visual Basic • Alan Cooper developed Visual Basic in 1988 and sold to Microsoft • VB1 Debuts at Windows World in March 20,1991 • VB2 Debuts in November 1992 • VB3 Debuts in June 1993 • VB4 Debuts in October 1996 • VB5 Debuts in April 1997 • VB6 Debuts in October 1998
  • 4. Three Editions of Visual Basic 1. The Visual Basic Learning edition is the introductory edition that lets you easily create Windows applications. 2. The Visual Basic Professional Edition is for computer professionals and has features such as tools to develop ActiveX and Internet controls. 3. The Visual Basic Enterprise edition is the most advanced edition and is aimed to programmers who build distributed applications in a team environment.
  • 5. Types of applications created in VB 6.0 1. Standard EXE 2. ActiveX EXE, ActiveX DLL 3. ActiveX Control 4. VB Application Wizard ,VB Wizard Manager 5. ActiveX Document EXE, ActiveX Document DLL 6. AddIn 7. Data Project 8. DHTML Application 9. IIS Application 10. VB Enterprise Edition Controls
  • 6. Features Of Visual Basic 1. It is a simple language. 2. It supports Integrated Development Environment(IDE), as multiple projects can be opened. 3. The lines of codes are Compiled Automatically with a faster compiler. 4. It completes the word automatically. 5. Bookmarks can be placed for quick search. 6. Break points can be toggled easily. 7. Drag and drop facility Clipboard and printer access. 8. Handle fixed and dynamic variable and control arrays. 9. Sequential random access file, and Binary access file support. 10. Useful debugger and error handling facilities.
  • 7. Advantages of Visual Basic A. The structure of the Basic programming language is very simple, particularly as to the executable code. B. VB is not only a language but primarily an integrated, interactive development environment ("IDE"). C. The VB-IDE has been highly optimized to support rapid application development ("RAD"). It is particularly easy to develop graphical user interfaces and to connect them to handler functions provided by the application. D. The graphical user interface of the VB-IDE provides intuitively appealing views for the management of the program structure in the large and the various types of entities (classes, modules, procedures, forms). E. VB is attuned to Microsoft’s Computer Object Model(“COM”).
  • 9. Visual Basic 6.0 Programming Window
  • 10. 1. Title bar:- The top of the window with the name of the project. 2. The Menu Bar:- Displays the commands required to build an application. 3. The Tool Bars:- Provides shortcut icons for quick access to the commonly used commands.
  • 11. 4. The Project Explorer window:- It shows the various elements of a project namely form, classes and modules. 5. The Properties Window:- Exposes the various characteristics of selected objects
  • 12. While your project is running, the user can do many things, such as move mouse around; click on either button; move, resize or close your form’s window; or jump to another application. Each action by the user causes an event to occur in your Visual Basic Project. VB ignores events for which no procedures are written. Visual Basic automatically names your event procedures. The name consist of the object name, an underscore(_), and the name of event. For example: the click event of command button called cmdPush will be cmdPush_Click().
  • 13. MOUSE EVENTS KEYBOARD EVENTS FOCUS EVENTS
  • 17.