SlideShare a Scribd company logo
 
What is VB? Visual Basic  ( VB ) is an event driven programming language and associated development environment created by Microsoft. In business programming, it has one of the largest user bases. It is derived heavily from BASIC and enables rapid application development (RAD) of graphical user interface (GUI) applications, access to databases using DAO, RDO, or ADO, and creation of ActiveX controls and objects. A programmer can put together an application using the components provided with Visual Basic itself. As of 2003, 52 percent of software developers used Visual Basic, making it the most popular programming language at that time. 43 percent of those Visual Basic developers, however, planned to move to other languages.[1] The popularity of Visual Basic perhaps results from its easy to understand syntax. Like all other Turing complete programming languages, it can also be used to create arbitrarily complex applications. Programs written in Visual Basic can use the Windows API, but doing so requires external function declarations.
Visual Basic is not an acronym anymore. It used to be. When the language was invented in the early 70's, BASIC stood for  B eginners'  A ll-purpose  S ymbolic  I nstruction  C ode, When you work with RAD (Rapid Application Development) tools like VB in a graphical interface environment
What Can Visual Basic Be Used For?  to write games, phone books, modem communications software,  encryption utilities,  GUIs and much more Database handling Internet !
Interpreter  A program that will read the code of a specific language, compile it, and load it into the systems memory. Every time this program is run, it must be re-interpreted, and therefore interpreted languages can never be as fast as fully compiled languages. Languages that use interpreters include  Basic  (and specialized forms such as  QBasic ) ,  Perl ,  PHP ,  MUMPS , and many others.  Computer Science ) Compiler  A  compiler  is any of a family of  programs  used to turn  source code  into an executable  program . This action is called  compiling .  The opposite of  compiling  is  decompiling , which can be done by a  decompiler .
 
What Is The Syntax Like?  The commands are almost all plain English words. The syntax is very much like the way you would think while writing it. An Example Visual Basic Program This is an example of some Visual Basic code.  'Declare a String variable Dim Message As String 'Store Hello World in a message. Let Message = "Hello World "'Show it. MsgBox Message
The Project Wizard
Visual Basic IDE Title Bar Tool Box Menu Bar Form Layout Window Project Explorer Window Properties Window Form Window Project Window Integrated Development Environment  (IDE)
Title bar, Menu bar …... Title Bar Menu Bar Standard Tool Bar
Tool Box image Text Box Command Button Option Button List Box Vscroll Bar Drive List Box Line Data Access File List Box Pointer Label Frame Check Box Combo Box Hscroll Bar Timer Directory  List Box Shape Picture
Form Layout Window Project Explorer Window The Project Explorer window gives a list of the forms and modules that are part of the current project.    To experiment with the Project Explorer window, click the Toggle Folders button . Notice that the folders are collapsed.  To expand the folders, click the Toggle Folders button again. The Form Layout window allows you to position your form or forms with regard to the rest of the screen. It uses a graphical interface to guide you. To experiment with it, click the small image inside the small screen and drag to the upper left corner inside the small screen. Notice that the small image can move
Notice that the right section of the Standard toolbar displays the dimensions of the form.
Controls Label Displays text on a form Frame Serves as a container for other controls CheckBox Enables users to select or deselect an option ComboBox Allows users to select from a list of items or add a new value HscrollBar Allows users to scroll horizontally through a list of data in another control Timer Lets your program perform actions in real time, without user interaction
Controls DirListBox Enables users to select a directory or folder Shape Displays a shape on a form Image Displays graphics (images) on a form but can't be a container OLE Container Enables you to add the functionality of another Control program to your program PictureBox Displays graphics (images) on a form and can serve as a container TextBox Can be used to display text but also enables users to enter or edit new or existing text
Naming Convention Control Prefix Control Prefix Label lbl PictureBox pic Frame fra TextBox txt CheckBox chk CommandButton cmd ComboBox cbo OptionButton opt HscrollBar hsb ListBox lst Timer tmr VscrollBar vsb DirListBox dir DriveListBox drv Shape shp FileListBox fil Image img Line lin OLE Container Control ole Data dat
Form window
How to run a programme
Form
Label
Command Button
Text Boxes
 
Option Buttons Frame 1 Option 1 Option 2
Code Editor window

More Related Content

PPT
visual basic v6 introduction
PPT
Meaning Of VB
PDF
Visual basic 6.0
PPT
Visual basic ppt for tutorials computer
PPTX
CSharp Presentation
PPT
Microsoft visual basic 6
PDF
Lenguaje C (pdf)
visual basic v6 introduction
Meaning Of VB
Visual basic 6.0
Visual basic ppt for tutorials computer
CSharp Presentation
Microsoft visual basic 6
Lenguaje C (pdf)

What's hot (20)

PPTX
Graphical User Interface (Gui)
PPTX
Direct linking loaders
PDF
Vb.net tutorial
PPT
lecture1 introduction to computer graphics(Computer graphics tutorials)
PPT
Compiler Construction introduction
PPTX
Kotlin Jetpack Tutorial
PPTX
Software architecture and software design
PPT
Introduction to programming using Visual Basic 6
PPTX
Introduction to Visual Basic 6.0 Fundamentals
PPTX
An introduction to vba and macros
PDF
Problem Solving Techniques and Introduction to C
PPTX
Adobe Photoshop Tools
PPT
Ch 3 event driven programming
PDF
loaders and linkers
PPTX
Event Handling in JAVA
DOCX
Macromedia Flash Player Practical file
PPT
Visual basic
PPTX
Component object model and
Graphical User Interface (Gui)
Direct linking loaders
Vb.net tutorial
lecture1 introduction to computer graphics(Computer graphics tutorials)
Compiler Construction introduction
Kotlin Jetpack Tutorial
Software architecture and software design
Introduction to programming using Visual Basic 6
Introduction to Visual Basic 6.0 Fundamentals
An introduction to vba and macros
Problem Solving Techniques and Introduction to C
Adobe Photoshop Tools
Ch 3 event driven programming
loaders and linkers
Event Handling in JAVA
Macromedia Flash Player Practical file
Visual basic
Component object model and
Ad

Viewers also liked (20)

PPTX
Presentation on visual basic 6 (vb6)
PPSX
පරිගණක වර්ගීකරණය
PPSX
දත්ත සහ තොරතුරු
PPTX
Computer programming
PPTX
QBASIC: A Tool For Modern Programming
PPTX
Basic computer-programming-2
ODP
Qbtut2.1
PPT
Qbasic introduction
PPTX
Programming : QBASIC
PPT
Introduction to qbasic
PPTX
පද්ධති ඒකකය
PPTX
Qbasic Tutorial
PPTX
Qbasic program
PPTX
Part21 combobox vb.net
PPTX
PPTX
QBASIC
PPTX
Introduction to Programming and QBasic Tutorial
PPT
visual basic for the beginner
PPT
Vb introduction.
PPT
Preparing and Uploading Presentation in SlideShare (Sinhala)
Presentation on visual basic 6 (vb6)
පරිගණක වර්ගීකරණය
දත්ත සහ තොරතුරු
Computer programming
QBASIC: A Tool For Modern Programming
Basic computer-programming-2
Qbtut2.1
Qbasic introduction
Programming : QBASIC
Introduction to qbasic
පද්ධති ඒකකය
Qbasic Tutorial
Qbasic program
Part21 combobox vb.net
QBASIC
Introduction to Programming and QBasic Tutorial
visual basic for the beginner
Vb introduction.
Preparing and Uploading Presentation in SlideShare (Sinhala)
Ad

Similar to Vb6.0 Introduction (20)

DOCX
Visual basic
PPT
VB6_INTRODUCTION.ppt
PPTX
01 Database Management (re-uploaded)
PDF
Ppt on visual basics
PDF
Vb 6ch123
PPTX
UNIT - 1 VISUAL BASIC PRESENTATION FOR IT
PPTX
Introduction to Visual Basic Programming
PDF
Programming Without Coding Technology (PWCT) Features - Framework & Extension
PPTX
01. Exploring the Visual C# Toolbox (1).pptx
PDF
Ch02 bronson
DOCX
Visual basic concepts
PPTX
INTRODUCTION-TO-VB (1).pptx introduction
PPTX
INTRODUCTION-TO-VB (2)-PROJECT POWERPOINT.pptx
PDF
VB PPT by ADI part-1.pdf
PDF
Graphical programming
PDF
Unit -II Introduction to visual programming.pdf
DOCX
Automatic answer checker
PDF
Membangun Desktop App
PPT
Buzzword, How'd They Build That?
PPT
Visual basic
Visual basic
VB6_INTRODUCTION.ppt
01 Database Management (re-uploaded)
Ppt on visual basics
Vb 6ch123
UNIT - 1 VISUAL BASIC PRESENTATION FOR IT
Introduction to Visual Basic Programming
Programming Without Coding Technology (PWCT) Features - Framework & Extension
01. Exploring the Visual C# Toolbox (1).pptx
Ch02 bronson
Visual basic concepts
INTRODUCTION-TO-VB (1).pptx introduction
INTRODUCTION-TO-VB (2)-PROJECT POWERPOINT.pptx
VB PPT by ADI part-1.pdf
Graphical programming
Unit -II Introduction to visual programming.pdf
Automatic answer checker
Membangun Desktop App
Buzzword, How'd They Build That?
Visual basic

Recently uploaded (20)

PPTX
Spectroscopy.pptx food analysis technology
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
KodekX | Application Modernization Development
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Electronic commerce courselecture one. Pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Cloud computing and distributed systems.
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
Spectroscopy.pptx food analysis technology
MIND Revenue Release Quarter 2 2025 Press Release
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
The AUB Centre for AI in Media Proposal.docx
KodekX | Application Modernization Development
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Advanced methodologies resolving dimensionality complications for autism neur...
Dropbox Q2 2025 Financial Results & Investor Presentation
Chapter 3 Spatial Domain Image Processing.pdf
Electronic commerce courselecture one. Pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Cloud computing and distributed systems.
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Digital-Transformation-Roadmap-for-Companies.pptx
Network Security Unit 5.pdf for BCA BBA.

Vb6.0 Introduction

  • 1.  
  • 2. What is VB? Visual Basic ( VB ) is an event driven programming language and associated development environment created by Microsoft. In business programming, it has one of the largest user bases. It is derived heavily from BASIC and enables rapid application development (RAD) of graphical user interface (GUI) applications, access to databases using DAO, RDO, or ADO, and creation of ActiveX controls and objects. A programmer can put together an application using the components provided with Visual Basic itself. As of 2003, 52 percent of software developers used Visual Basic, making it the most popular programming language at that time. 43 percent of those Visual Basic developers, however, planned to move to other languages.[1] The popularity of Visual Basic perhaps results from its easy to understand syntax. Like all other Turing complete programming languages, it can also be used to create arbitrarily complex applications. Programs written in Visual Basic can use the Windows API, but doing so requires external function declarations.
  • 3. Visual Basic is not an acronym anymore. It used to be. When the language was invented in the early 70's, BASIC stood for B eginners' A ll-purpose S ymbolic I nstruction C ode, When you work with RAD (Rapid Application Development) tools like VB in a graphical interface environment
  • 4. What Can Visual Basic Be Used For? to write games, phone books, modem communications software, encryption utilities, GUIs and much more Database handling Internet !
  • 5. Interpreter A program that will read the code of a specific language, compile it, and load it into the systems memory. Every time this program is run, it must be re-interpreted, and therefore interpreted languages can never be as fast as fully compiled languages. Languages that use interpreters include Basic (and specialized forms such as QBasic ) , Perl , PHP , MUMPS , and many others. Computer Science ) Compiler A compiler is any of a family of programs used to turn source code into an executable program . This action is called compiling . The opposite of compiling is decompiling , which can be done by a decompiler .
  • 6.  
  • 7. What Is The Syntax Like? The commands are almost all plain English words. The syntax is very much like the way you would think while writing it. An Example Visual Basic Program This is an example of some Visual Basic code. 'Declare a String variable Dim Message As String 'Store Hello World in a message. Let Message = "Hello World "'Show it. MsgBox Message
  • 9. Visual Basic IDE Title Bar Tool Box Menu Bar Form Layout Window Project Explorer Window Properties Window Form Window Project Window Integrated Development Environment (IDE)
  • 10. Title bar, Menu bar …... Title Bar Menu Bar Standard Tool Bar
  • 11. Tool Box image Text Box Command Button Option Button List Box Vscroll Bar Drive List Box Line Data Access File List Box Pointer Label Frame Check Box Combo Box Hscroll Bar Timer Directory List Box Shape Picture
  • 12. Form Layout Window Project Explorer Window The Project Explorer window gives a list of the forms and modules that are part of the current project.   To experiment with the Project Explorer window, click the Toggle Folders button . Notice that the folders are collapsed. To expand the folders, click the Toggle Folders button again. The Form Layout window allows you to position your form or forms with regard to the rest of the screen. It uses a graphical interface to guide you. To experiment with it, click the small image inside the small screen and drag to the upper left corner inside the small screen. Notice that the small image can move
  • 13. Notice that the right section of the Standard toolbar displays the dimensions of the form.
  • 14. Controls Label Displays text on a form Frame Serves as a container for other controls CheckBox Enables users to select or deselect an option ComboBox Allows users to select from a list of items or add a new value HscrollBar Allows users to scroll horizontally through a list of data in another control Timer Lets your program perform actions in real time, without user interaction
  • 15. Controls DirListBox Enables users to select a directory or folder Shape Displays a shape on a form Image Displays graphics (images) on a form but can't be a container OLE Container Enables you to add the functionality of another Control program to your program PictureBox Displays graphics (images) on a form and can serve as a container TextBox Can be used to display text but also enables users to enter or edit new or existing text
  • 16. Naming Convention Control Prefix Control Prefix Label lbl PictureBox pic Frame fra TextBox txt CheckBox chk CommandButton cmd ComboBox cbo OptionButton opt HscrollBar hsb ListBox lst Timer tmr VscrollBar vsb DirListBox dir DriveListBox drv Shape shp FileListBox fil Image img Line lin OLE Container Control ole Data dat
  • 18. How to run a programme
  • 19. Form
  • 20. Label
  • 23.  
  • 24. Option Buttons Frame 1 Option 1 Option 2