KEMBAR78
Introduction to Visual Basic 6.0 Fundamentals | PPTX
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

Introduction to Visual Basic 6.0 Fundamentals

  • 1.
  • 2.
    Introduction to VisualBasic 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 VisualBasic • 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 ofVisual 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 applicationscreated 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 VisualBasic 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 VisualBasic 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”).
  • 8.
  • 9.
    Visual Basic 6.0Programming 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 ProjectExplorer 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 projectis 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 KEYBOARDEVENTS FOCUS EVENTS
  • 14.
  • 15.
  • 16.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.