0% found this document useful (0 votes)
36 views25 pages

Basics of VB

Chapter 1 introduces Visual Basic, covering its history, background, and the Integrated Development Environment (IDE). It discusses the evolution of programming languages, including machine, procedure-oriented, object-oriented, and event-driven languages, with a focus on Visual Basic's role. The chapter also highlights various editions of Visual Basic and available resources for learning and support.

Uploaded by

gvjohith2012
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views25 pages

Basics of VB

Chapter 1 introduces Visual Basic, covering its history, background, and the Integrated Development Environment (IDE). It discusses the evolution of programming languages, including machine, procedure-oriented, object-oriented, and event-driven languages, with a focus on Visual Basic's role. The chapter also highlights various editions of Visual Basic and available resources for learning and support.

Uploaded by

gvjohith2012
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd

Chapter 1

Introduction to

Visual Basic

By: Dr. Ramesh Saini


Assistant Professor of
Computer Science Dept.
Objectives

 Machine language vs.. High-level


language
 Procedure-oriented, object-oriented, and
event-driven languages
 Background of Visual Basic
 VB Integrated Development
Environment
 Online documentation and Help features
Application Programs
Program - detailed set of instructions for
a computer to execute
Application programs (applications or
apps) - self-contained collection of
programs that perform a task for the
end user
Programming language - formal
language used to give instructions to
computers
History of Programming
Languages

 Machine language
 Procedure-oriented languages
 Object-oriented languages
 Event-driven languages
 Natural languages
History of Programming
Languages

 Machine Language
 different for each computer processor
 Procedure-Oriented Languages
 FORTRAN
 COBOL
 Pascal
 C
 Ada
History of Programming
Languages

 Object-oriented languages
 Smalltalk
 C++
 Ada 95
 Event-driven languages
 VisualBasic
 most Visual languages
History of Programming
Languages

 Natural languages
 computer will accept a user’s native
or natural language, such as English
 Researchers continue to work in this
area
Background of Visual
Basic
 BASIC
 Beginner’s All-purpose Symbolic
Instruction Code
 By John Kemeny and Thomas Kurtz
 Designed to teach programming to
beginners
 BASIC language interpreter, one of
Microsoft’s first products
Background of Visual
Basic
 BASIC
 Included with DOS
 QBASIC - included with DOS Version 5 -
subset of BASIC
 Visual Basic
 1992 - Visual Basic 1 for Windows 3
 Visual Basic 4 - for Windows 95
 Visual Basic 5 - for Office 97
 Visual Basic 6 - for Windows 98 & Office 2000
Visual Basic Editions

 Learning Edition
 Professional Edition
 Enterprise Edition
 Included in Visual Studio suite
(analogy Office for programmers)
Visual Basic Editions

 Other Visual Basic packaging


options
 VBA (Visual Basic for Applications)
 Windows CE Toolkit for Visual Basic
 Visual Basic Scripting Edition
 Control Creation Edition
Visual Basic 6 Interactive Development Environment

Project
Toolbox Explorer

Form
Designe
r
Window
Propertie
s window

Code
Editor
Window

Form
Layout
Window
Elements of the Integrated
Development Environment

 Application icon  Major windows


 Application name  Form Designer
 Form Layout
 Context menus
 Toolbox
 Controls
 Project Explorer
 Current project  Object Browser
 Design view mode  Properties
 Title bar  Code Editor
 Immediate, Locals, Watch
Introduction to Visual
Basic
Hands-On Exercise 1
 Start Microsoft Visual Basic 6.0
 Open the Welcome Project
 Open the Welcome Form
 Run the Welcome Project
 End the Welcome Project
 Exit Visual Basic
Get Help When You Need
It
 MSDN Library
 Microsoft on the Web
 Learning Edition of Visual Basic 6.0
 Visual Basic 6.0 in Action book
 Learn Visual Basic Now multimedia
tutorial
MSDN Library

Navigation Topic Pane


Pane
MSDN Library
 Visual Basic Documentation
 Documentation Map
 What’s New
 Programmer’s Guide
 Samples
 Reference Guidebooks
 Component Tools Guide
 Data Access Guide
Get Help from the CD

Hands-On Exercise 2
 Open the Calc Sample Application
 Run the Calc Sample Application
 Get Help from the MSDN Library
 Add a Topic to the Favorites List
 Search for a Definition
 Exit Help and Visual Basic
Help from the Web

 Pull down Help menu


 Select Help from the Web
 or [Link]/vbasic
Get Help from the Web

Hands-On Exercise 3
 Use the Free Stuff Page to Update VB
 Install the Update (optional)
 Product News
 Frequently Asked Questions
 Online Support
Use the Right Tool
for the Job
 Microsoft Office Suite
 Word - word processing
 Excel - spreadsheet
 PowerPoint - presentation
 Access - database
 OLE = Object Linking and
Embedding
 Use Visual Basic to create a
specialized, customized application
Summary ...

 Event-driven languages is a major


improvement in programming
languages
 Editions include Learning Edition,
Professional Edition, and Enterprise
Edition
 CD-ROM includes the MSDN Library,
and many sample programs
Summary

 Integrated Development
Environment includes
 Form Designer, Form Layout
 Code Edition, Project Explorer
 Properties and Object Browser
 Choose the right tool for the job
 Visual Basic is the glue that binds
Windows objects together
Practice with Visual Basic

1. Automated Teller Machine


2. Personal News Service
3. Getting Assistance While You Work
4. Pricing Information
Case Studies

 I Wish I Could
 Visual Basic Help on the Web
 Quick Reference Manual
 Planning for Disaster

You might also like