SlideShare a Scribd company logo
1 of 35
Download to read offline
Introduction
to
Dr. K ADISESHA
Introduction
to
Introduction
Visual Basic 6
Queries
Visual Basic Features
Visual Basic IDE
2
Visual Basic 6
Dr. K. Adisesha
User Interface
Introduction
Dr. K. Adisesha
3
History of Programming Languages:
Programming language - formal language used to give instructions to computers.
➢ Machine language
➢ Procedure-oriented languages
➢ Object-oriented languages
➢ Event-driven languages
➢ Natural languages
Introduction
Dr. K. Adisesha
4
History of Programming Languages:
Programming language - formal language used to give instructions to computers.
➢ Machine Language
❖ It is binary code, different for each computer processor
➢ Procedure-Oriented Languages
❖ FORTRAN
❖ COBOL
❖ Pascal
❖ C
❖ Ada
Introduction
Dr. K. Adisesha
5
History of Programming Languages:
Programming language - formal language used to give instructions to computers.
➢ Object-oriented languages
❖ Smalltalk
❖ C++
❖ Ada 95
➢ Event-driven languages
❖ Visual Basic
❖ most Visual languages
❖ Ada
Introduction
Dr. K. Adisesha
6
History of Programming Languages:
Programming language - formal language used to give instructions to computers.
➢ Natural languages
❖ computer will accept a user’s native or natural language, such as
English
❖ Researchers continue to work in this area
Visual Basic
Dr. K. Adisesha
7
Visual Basic-6:
Visual Basic (VB) is a simple, modern, object-oriented and type-safe programming
language. Visual Basic language has its roots in the family of C languages such as C,
C++ and it is mostly similar to Java programming.
➢ Versions of Visual Basic
❖ 1992 - Visual Basic 1 for Windows 3
❖ 1993 - Visual Basic 3.0 (a vast improvement over previous versions)
❖ 1995 - Visual Basic 4 - for Windows 95
❖ 1996 - Visual Basic 5 - for Office 97
❖ 1998 - Visual Basic 6 - for Windows 98 & Office 2000
Visual Basic
Dr. K. Adisesha
8
➢ Visual Basic Editions
❖ Learning Edition
❖ Professional Edition
❖ Enterprise Edition
➢ 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
Dr. K. Adisesha
9
Visual Basic is a third-generation event-driven programming language first released by
Microsoft in 1991. It evolved from the earlier DOS version called BASIC.
➢ BASIC means Beginners' All-purpose Symbolic Instruction Code.
Features of Visual Basic:
❖ Full set of objects - you 'draw' the application
❖ Response to mouse and keyboard actions
❖ Full array of mathematical, string handling, and graphics functions
❖ Can handle fixed and dynamic variable and control arrays
❖ Sequential and random access file support
❖ Useful debugger and error-handling facilities
❖ Powerful database access tools
❖ ActiveX support
❖ Package & Deployment Wizard makes distributing your applications simple
Visual Basic
Dr. K. Adisesha
10
Steps in Developing Application
There are three primary steps involved in building a Visual Basic application.
❖ Draw the user interface
❖ Assign properties to controls
❖ Attach code to controls.
Visual Basic operates in three modes.
❖ Design mode - used to build application
❖ Run mode - used to run the application
❖ Break mode - application halted and debugger is available
Visual Basic
Dr. K. Adisesha
11
Visual Basic IDE
➢ After installing the vb6 compiler, the
icon will appear on your desktop or in
your programs menu.
➢ Click on the icon to launch the VB6
compiler.
➢ On start up, Visual Basic 6.0 will
display the following dialog box as
shown.
Visual Basic 6 IDE
Dr. K. Adisesha
12
➢ Major windows
❖ Form Designer
❖ Form Layout
❖ Toolbox
❖ Project Explorer
❖ Object Browser
❖ Properties
❖ Code Editor
❖ Immediate, Locals, Watch
Visual Basic 6 IDE
Dr. K. Adisesha
13
Visual Basic IDE
The Main Window consists of the title bar,
menu bar, and toolbar.
➢ Title bar indicates the project name, the
current Visual Basic operating mode,
and the current form.
➢ Menu bar has drop-down menus from
which you control the operation of the
Visual Basic environment.
➢ Toolbar has buttons that provide
shortcuts to some of the menu options.
Visual Basic 6 IDE
Dr. K. Adisesha
14
Visual Basic IDE- Menu bar
Visual Basic 6 IDE
Dr. K. Adisesha
15
Drawing the User Interface and Setting Properties:
Project Window displays a list of all forms and modules making up your application.
You can also obtain a view of the Form or Code windows (window containing the
actual Basic coding) from the Project window.
➢ There are two ways to place controls on a form:
❖ Double-click the tool in the toolbox and it is created with
a default size on the form. You can then move it or resize it.
❖ Click the tool in the toolbox, then move the mouse pointer
to the form window.
Visual Basic 6 IDE
Dr. K. Adisesha
16
Drawing the User Interface and Setting Properties:
The Form Window is central to developing Visual Basic applications. It is where you
draw your application.
Visual Basic 6 IDE
Dr. K. Adisesha
17
Drawing the User Interface and Setting Properties:
➢ Toolbox is the selection menu for controls used in your application.
➢ Form Layout Window shows where (upon program execution)
your form will be displayed relative to your monitor’s screen:
Visual Basic 6 IDE
Dr. K. Adisesha
18
➢ Toolbox is the selection menu for controls used in your application.
Visual Basic 6 IDE
Dr. K. Adisesha
19
➢ Toolbox is the selection menu for controls used in your application.
Visual Basic 6 IDE
Dr. K. Adisesha
20
➢ Toolbox is the selection menu for controls used in your application.
Control Description
Pointer Provides a way to move and resize the controls form
PictureBox
Displays icons/bitmaps and metafiles. It displays text or acts as a
visual container for other controls.
TextBox Used to display message and enter text.
Frame Serves as a visual and functional container for controls
CommandButton Used to carry out the specified action when the user chooses it.
CheckBox Displays a True/False or Yes/No option.
OptionButton
OptionButton control which is a part of an option group allows the
user to select only one option even it displays mulitiple choices.
Visual Basic 6 IDE
Dr. K. Adisesha
21
➢ Toolbox is the selection menu for controls used in your application.
Control Description
ListBox Displays a list of items from which a user can select one.
ComboBox
Contains a TextBox and a ListBox. This allows the user to select an ietm from
the dropdown ListBox, or to type in a selection in the TextBox.
HScrollBar and
VScrollBar
These controls allow the user to select a value within the specified range of
values
Timer Executes the timer events at specified intervals of time
DriveListBox Displays the valid disk drives and allows the user to select one of them.
DirListBox Allows the user to select the directories and paths, which are displayed.
FileListBox Displays a set of files from which a user can select the desired one.
Visual Basic 6 IDE
Dr. K. Adisesha
22
➢ Toolbox is the selection menu for controls used in your application.
Control Description
Shape Used to add shape (rectangle, square or circle) to a Form
Line Used to draw straight line to the Form
Image
used to display images such as icons, bitmaps and metafiles. But less capability
than the PictureBox
Data Enables the use to connect to an existing database and display information from it.
OLE
Used to link or embed an object, display and manipulate data from other windows
based applications.
Label Displays a text that the user cannot modify or interact with.
Shape Used to add shape (rectangle, square or circle) to a Form
Visual Basic 6 IDE
Dr. K. Adisesha
23
➢ Toolbox is the selection menu for controls used in your application.
Visual Basic 6 IDE
Dr. K. Adisesha
24
Drawing the User Interface and Setting Properties:
Properties Window is used to establish initial property values for objects.
➢ The drop-down box at the top of the window lists all objects in the current form.
➢ Two views are available:
❖ Alphabetic
❖ Categorized
➢ Under this box are the available properties
for the currently selected object.
Visual Basic 6 IDE
Dr. K. Adisesha
25
Drawing the User Interface and Setting Properties:
Properties Window is used to establish initial property values for objects.
➢ Properties define the characteristics of an object such as Size, Color etc. or
sometimes the way in which it behaves.
➢ For example, a TextBox accepts properties such as:
❖ Enables property: allows the TextBox to be enabled or disabled at run time depending on
the condition set to True or False.
❖ Font property: sets a particular font in the TextBox.
❖ MultiLine property: allows the TextBox to accept and display multiple lines at run time.
❖ Text property: of the TextBox control sets a particular text in the control.
❖ Visible property: is used to hide the object at run time.
❖ Width property: sets the TextBox to the desired width at design time.
Visual Basic 6 IDE
Dr. K. Adisesha
26
Drawing the User Interface and Setting Properties:
Properties Window is used to establish initial property values for objects.
➢ A very important property for each object is its name. The name is used by Visual
Basic to refer to a particular object in code.
➢ A convention has been established for naming Visual Basic objects.
➢ A few of the prefixes are:
Visual Basic 6- Events
Dr. K. Adisesha
27
Events: are basically a user action like key press, clicks, mouse movements, etc., or
some occurrence like system generated notifications. Applications need to respond to
events when they occur.
➢ The combination of controls name and event's name is unique and is the name of
the event handler.
➢ The general syntax of event handler is
Private sub controlname.cntrolname_eventname ()
End sub
➢ There are mainly three types of events −
❖ Mouse events
❖ Keyboard events
❖ Focus Events
Visual Basic 6- Events
Dr. K. Adisesha
28
The Mouse events:
➢ Click :This event takes place when user clicks the mouse button once
Example : Private Sub Form1_Click()
Form1.print “click event is occur”
End Sub
➢ DblClick : The Double click event is called when user clicks the Mouse buttons Twice.
Example : Private Sub Form1_DblClick()
Form1.print “Double click event is occur”
End Sub
➢ MouseDown : The MouseDown event is called when user presses the Mouse buttons down
Example : Private Sub Form1_MouseDown()
Form1.print “Mouse Down event is occur”
End Sub
Visual Basic 6- Events
Dr. K. Adisesha
29
The Mouse events:
➢ MouseUp :The MouseUp event is called when user presses the Mouse buttons up
Example : Private Sub Form1_MouseUp()
Form1.print “Mouse Up event is occur”
End Sub
➢ MouseMove: The MouseMove event is called when user Moves the Mouse over Form.
Example : Private Sub Form1_MouseMove()
Form1.print “Mouse Move event is occur””
End Sub
Visual Basic 6- Events
Dr. K. Adisesha
30
The Keyboard events:
➢ KeyDown: The KeyDown event is called when user presses the KeyBoard buttons down
Example : Private Sub Form1_KeyDown()
Form1.print “KeyDown event is occur”
End Sub
➢ KeyUp :The KeyUp event is called when user presses the Mouse buttons up.
Example : Private Sub Form1_KeyUp()
Form1.print “Key Up event is occur”
End Sub
➢ Change :The change event is triggered by various controls when their contents change.
Example : Private Sub Text1_Change()
End Sub
Visual Basic 6- Events
Dr. K. Adisesha
31
The Focus event:
Focus is the ability of a control to receive user input via keyboard. When an object has the
focus, it can receive input from a user.
➢ These are related events, when the focus is move on one control to the other.
❖ SetFocus : Event occurs when user can change the focus from one control to other.
❖ GotFocus : GotFocus event to initialize a control for editing.
Private Sub Text1_GotFocus ()
Text1.text= “event is occur”
End Sub
❖ LostFocus : LostFocus event to validate the data entered by the use.
Private Sub Text1_LostFocus ()
Text2.setFocus
End Sub
Event Occurrence
Change The user modifies text in a combo box or text box.
Click The user clicks the primary mouse button on an object.
DblClick The user double-clicks the primary mouse button on an object.
DragDrop The user drags an object to another location.
DragOver The user drags an object over another control.
GotFocus An object receives focus.
KeyDown The user presses a keyboard key while an object has focus.
Visual Basic 6- Events
Dr. K. Adisesha
32
➢ Events: are what happen in and around your program. These events occur as a
result of some specific user action, such as moving the mouse, pressing a key on the
keyboard, or clicking a text box.
Event Occurrence
KeyPress The user presses and releases a keyboard key while an object has focus.
KeyUp The user releases a keyboard key while an object has focus.
LostFocus An object loses focus.
MouseDown The user presses any mouse button while the mouse pointer is over an
object.
MouseMove The user moves the mouse pointer over an object.
MouseUp The user releases any mouse button while the mouse pointer is over an
object.
Visual Basic 6- Events
Dr. K. Adisesha
33
➢ Events: are what happen in and around your program. These events occur as a result
of some specific user action, such as moving the mouse, pressing a key on the
keyboard, or clicking a text box.
Visual Basic 6 IDE
Dr. K. Adisesha
34
Example: Program to find sum and average of two numbers
Discussion
Dr. K. Adisesha
35
Queries ?
Dr. K. Adisesha
9449081542

More Related Content

What's hot (20)

Compilers
CompilersCompilers
Compilers
 
Functions in python slide share
Functions in python slide shareFunctions in python slide share
Functions in python slide share
 
Python presentation by Monu Sharma
Python presentation by Monu SharmaPython presentation by Monu Sharma
Python presentation by Monu Sharma
 
Intro to Python
Intro to PythonIntro to Python
Intro to Python
 
Linkers And Loaders
Linkers And LoadersLinkers And Loaders
Linkers And Loaders
 
Introduction to python
 Introduction to python Introduction to python
Introduction to python
 
Linux operating system - Overview
Linux operating system - OverviewLinux operating system - Overview
Linux operating system - Overview
 
Introduction to python programming
Introduction to python programmingIntroduction to python programming
Introduction to python programming
 
Character set of c
Character set of cCharacter set of c
Character set of c
 
C presentation book
C presentation bookC presentation book
C presentation book
 
dot net unit-1.pdf
dot net unit-1.pdfdot net unit-1.pdf
dot net unit-1.pdf
 
Benefits & features of python |Advantages & disadvantages of python
Benefits & features of python |Advantages & disadvantages of pythonBenefits & features of python |Advantages & disadvantages of python
Benefits & features of python |Advantages & disadvantages of python
 
Python Programming
Python ProgrammingPython Programming
Python Programming
 
Introduction to Python Programming language.pptx
Introduction to Python Programming language.pptxIntroduction to Python Programming language.pptx
Introduction to Python Programming language.pptx
 
Shell programming
Shell programmingShell programming
Shell programming
 
windows vs Linux
windows vs Linuxwindows vs Linux
windows vs Linux
 
Basic Java Programming
Basic Java ProgrammingBasic Java Programming
Basic Java Programming
 
Swing and AWT in java
Swing and AWT in javaSwing and AWT in java
Swing and AWT in java
 
Assembler
AssemblerAssembler
Assembler
 
Perl
PerlPerl
Perl
 

Similar to VB PPT by ADI part-1.pdf

VB PPT by ADI part-1.pdf
VB PPT by ADI part-1.pdfVB PPT by ADI part-1.pdf
VB PPT by ADI part-1.pdfAdiseshaK
 
VB6_INTRODUCTION.ppt
VB6_INTRODUCTION.pptVB6_INTRODUCTION.ppt
VB6_INTRODUCTION.pptBhuvanaR13
 
visual basic for the beginner
visual basic for the beginnervisual basic for the beginner
visual basic for the beginnerSalim M
 
Introduction to visual basic 6 (1)
Introduction to visual basic 6 (1)Introduction to visual basic 6 (1)
Introduction to visual basic 6 (1)Mark Vincent Cantero
 
vb-160518151614.pdf
vb-160518151614.pdfvb-160518151614.pdf
vb-160518151614.pdfLimEchYrr
 
vb-160518151614.pptx
vb-160518151614.pptxvb-160518151614.pptx
vb-160518151614.pptxLimEchYrr
 
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptxhjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptxEliasPetros
 
Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0DivyaR219113
 
Visual basic concepts
Visual basic conceptsVisual basic concepts
Visual basic conceptsmelody77776
 
control structure in visual basic
control structure in visual basic control structure in visual basic
control structure in visual basic classall
 
Vb6.0 Introduction
Vb6.0 IntroductionVb6.0 Introduction
Vb6.0 IntroductionTennyson
 
Programming basics
Programming basicsProgramming basics
Programming basicsSenri DLN
 

Similar to VB PPT by ADI part-1.pdf (20)

VB PPT by ADI part-1.pdf
VB PPT by ADI part-1.pdfVB PPT by ADI part-1.pdf
VB PPT by ADI part-1.pdf
 
VB6_INTRODUCTION.ppt
VB6_INTRODUCTION.pptVB6_INTRODUCTION.ppt
VB6_INTRODUCTION.ppt
 
Vb lecture
Vb lectureVb lecture
Vb lecture
 
C# Dot net unit-3.pdf
C# Dot net unit-3.pdfC# Dot net unit-3.pdf
C# Dot net unit-3.pdf
 
Vb basics
Vb basicsVb basics
Vb basics
 
visual basic for the beginner
visual basic for the beginnervisual basic for the beginner
visual basic for the beginner
 
Introduction to visual basic 6 (1)
Introduction to visual basic 6 (1)Introduction to visual basic 6 (1)
Introduction to visual basic 6 (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
 
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptxhjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
hjksjdhksjhcksjhckjhskdjhcskjhckjdppt.pptx
 
Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0Introduction to Visual Basic 6.0
Introduction to Visual Basic 6.0
 
Vb 6ch123
Vb 6ch123Vb 6ch123
Vb 6ch123
 
Visual basic concepts
Visual basic conceptsVisual basic concepts
Visual basic concepts
 
Neha
NehaNeha
Neha
 
control structure in visual basic
control structure in visual basic control structure in visual basic
control structure in visual basic
 
Vb6.0 Introduction
Vb6.0 IntroductionVb6.0 Introduction
Vb6.0 Introduction
 
Visual basic
Visual basic Visual basic
Visual basic
 
Visual Programming
Visual ProgrammingVisual Programming
Visual Programming
 
Programming basics
Programming basicsProgramming basics
Programming basics
 

More from Prof. Dr. K. Adisesha

Software Engineering notes by K. Adisesha.pdf
Software Engineering notes by K. Adisesha.pdfSoftware Engineering notes by K. Adisesha.pdf
Software Engineering notes by K. Adisesha.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 1 by Adisesha.pdf
Software Engineering-Unit 1 by Adisesha.pdfSoftware Engineering-Unit 1 by Adisesha.pdf
Software Engineering-Unit 1 by Adisesha.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdfSoftware Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdfSoftware Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 4 "Architectural Design" by Adi.pdf
Software Engineering-Unit 4 "Architectural Design" by Adi.pdfSoftware Engineering-Unit 4 "Architectural Design" by Adi.pdf
Software Engineering-Unit 4 "Architectural Design" by Adi.pdfProf. Dr. K. Adisesha
 
Software Engineering-Unit 5 "Software Testing"by Adi.pdf
Software Engineering-Unit 5 "Software Testing"by Adi.pdfSoftware Engineering-Unit 5 "Software Testing"by Adi.pdf
Software Engineering-Unit 5 "Software Testing"by Adi.pdfProf. Dr. K. Adisesha
 
Computer Networks Notes by -Dr. K. Adisesha
Computer Networks Notes by -Dr. K. AdiseshaComputer Networks Notes by -Dr. K. Adisesha
Computer Networks Notes by -Dr. K. AdiseshaProf. Dr. K. Adisesha
 
CCN Unit-1&2 Data Communication &Networking by K. Adiaesha
CCN Unit-1&2 Data Communication &Networking by K. AdiaeshaCCN Unit-1&2 Data Communication &Networking by K. Adiaesha
CCN Unit-1&2 Data Communication &Networking by K. AdiaeshaProf. Dr. K. Adisesha
 
CCN Unit-3 Data Link Layer by Dr. K. Adisesha
CCN Unit-3 Data Link Layer by Dr. K. AdiseshaCCN Unit-3 Data Link Layer by Dr. K. Adisesha
CCN Unit-3 Data Link Layer by Dr. K. AdiseshaProf. Dr. K. Adisesha
 
CCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. AdiseshaCCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. AdiseshaProf. Dr. K. Adisesha
 
CCN Unit-5 Transport & Application Layer by Adi.pdf
CCN Unit-5 Transport & Application Layer by Adi.pdfCCN Unit-5 Transport & Application Layer by Adi.pdf
CCN Unit-5 Transport & Application Layer by Adi.pdfProf. Dr. K. Adisesha
 

More from Prof. Dr. K. Adisesha (20)

Software Engineering notes by K. Adisesha.pdf
Software Engineering notes by K. Adisesha.pdfSoftware Engineering notes by K. Adisesha.pdf
Software Engineering notes by K. Adisesha.pdf
 
Software Engineering-Unit 1 by Adisesha.pdf
Software Engineering-Unit 1 by Adisesha.pdfSoftware Engineering-Unit 1 by Adisesha.pdf
Software Engineering-Unit 1 by Adisesha.pdf
 
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdfSoftware Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
Software Engineering-Unit 2 "Requirement Engineering" by Adi.pdf
 
Software Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdfSoftware Engineering-Unit 3 "System Modelling" by Adi.pdf
Software Engineering-Unit 3 "System Modelling" by Adi.pdf
 
Software Engineering-Unit 4 "Architectural Design" by Adi.pdf
Software Engineering-Unit 4 "Architectural Design" by Adi.pdfSoftware Engineering-Unit 4 "Architectural Design" by Adi.pdf
Software Engineering-Unit 4 "Architectural Design" by Adi.pdf
 
Software Engineering-Unit 5 "Software Testing"by Adi.pdf
Software Engineering-Unit 5 "Software Testing"by Adi.pdfSoftware Engineering-Unit 5 "Software Testing"by Adi.pdf
Software Engineering-Unit 5 "Software Testing"by Adi.pdf
 
Computer Networks Notes by -Dr. K. Adisesha
Computer Networks Notes by -Dr. K. AdiseshaComputer Networks Notes by -Dr. K. Adisesha
Computer Networks Notes by -Dr. K. Adisesha
 
CCN Unit-1&2 Data Communication &Networking by K. Adiaesha
CCN Unit-1&2 Data Communication &Networking by K. AdiaeshaCCN Unit-1&2 Data Communication &Networking by K. Adiaesha
CCN Unit-1&2 Data Communication &Networking by K. Adiaesha
 
CCN Unit-3 Data Link Layer by Dr. K. Adisesha
CCN Unit-3 Data Link Layer by Dr. K. AdiseshaCCN Unit-3 Data Link Layer by Dr. K. Adisesha
CCN Unit-3 Data Link Layer by Dr. K. Adisesha
 
CCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. AdiseshaCCN Unit-4 Network Layer by Dr. K. Adisesha
CCN Unit-4 Network Layer by Dr. K. Adisesha
 
CCN Unit-5 Transport & Application Layer by Adi.pdf
CCN Unit-5 Transport & Application Layer by Adi.pdfCCN Unit-5 Transport & Application Layer by Adi.pdf
CCN Unit-5 Transport & Application Layer by Adi.pdf
 
Introduction to Computers.pdf
Introduction to Computers.pdfIntroduction to Computers.pdf
Introduction to Computers.pdf
 
R_Programming.pdf
R_Programming.pdfR_Programming.pdf
R_Programming.pdf
 
Scholarship.pdf
Scholarship.pdfScholarship.pdf
Scholarship.pdf
 
Operating System-2 by Adi.pdf
Operating System-2 by Adi.pdfOperating System-2 by Adi.pdf
Operating System-2 by Adi.pdf
 
Operating System-1 by Adi.pdf
Operating System-1 by Adi.pdfOperating System-1 by Adi.pdf
Operating System-1 by Adi.pdf
 
Operating System-adi.pdf
Operating System-adi.pdfOperating System-adi.pdf
Operating System-adi.pdf
 
Data_structure using C-Adi.pdf
Data_structure using C-Adi.pdfData_structure using C-Adi.pdf
Data_structure using C-Adi.pdf
 
JAVA PPT -2 BY ADI.pdf
JAVA PPT -2 BY ADI.pdfJAVA PPT -2 BY ADI.pdf
JAVA PPT -2 BY ADI.pdf
 
JAVA PPT -5 BY ADI.pdf
JAVA PPT -5 BY ADI.pdfJAVA PPT -5 BY ADI.pdf
JAVA PPT -5 BY ADI.pdf
 

Recently uploaded

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
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
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
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
 
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
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 

Recently uploaded (20)

9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
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
 
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
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
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
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 

VB PPT by ADI part-1.pdf

  • 2. Introduction to Introduction Visual Basic 6 Queries Visual Basic Features Visual Basic IDE 2 Visual Basic 6 Dr. K. Adisesha User Interface
  • 3. Introduction Dr. K. Adisesha 3 History of Programming Languages: Programming language - formal language used to give instructions to computers. ➢ Machine language ➢ Procedure-oriented languages ➢ Object-oriented languages ➢ Event-driven languages ➢ Natural languages
  • 4. Introduction Dr. K. Adisesha 4 History of Programming Languages: Programming language - formal language used to give instructions to computers. ➢ Machine Language ❖ It is binary code, different for each computer processor ➢ Procedure-Oriented Languages ❖ FORTRAN ❖ COBOL ❖ Pascal ❖ C ❖ Ada
  • 5. Introduction Dr. K. Adisesha 5 History of Programming Languages: Programming language - formal language used to give instructions to computers. ➢ Object-oriented languages ❖ Smalltalk ❖ C++ ❖ Ada 95 ➢ Event-driven languages ❖ Visual Basic ❖ most Visual languages ❖ Ada
  • 6. Introduction Dr. K. Adisesha 6 History of Programming Languages: Programming language - formal language used to give instructions to computers. ➢ Natural languages ❖ computer will accept a user’s native or natural language, such as English ❖ Researchers continue to work in this area
  • 7. Visual Basic Dr. K. Adisesha 7 Visual Basic-6: Visual Basic (VB) is a simple, modern, object-oriented and type-safe programming language. Visual Basic language has its roots in the family of C languages such as C, C++ and it is mostly similar to Java programming. ➢ Versions of Visual Basic ❖ 1992 - Visual Basic 1 for Windows 3 ❖ 1993 - Visual Basic 3.0 (a vast improvement over previous versions) ❖ 1995 - Visual Basic 4 - for Windows 95 ❖ 1996 - Visual Basic 5 - for Office 97 ❖ 1998 - Visual Basic 6 - for Windows 98 & Office 2000
  • 8. Visual Basic Dr. K. Adisesha 8 ➢ Visual Basic Editions ❖ Learning Edition ❖ Professional Edition ❖ Enterprise Edition ➢ Other Visual Basic packaging options ❖ VBA (Visual Basic for Applications) ❖ Windows CE Toolkit for Visual Basic ❖ Visual Basic Scripting Edition ❖ Control Creation Edition
  • 9. Visual Basic Dr. K. Adisesha 9 Visual Basic is a third-generation event-driven programming language first released by Microsoft in 1991. It evolved from the earlier DOS version called BASIC. ➢ BASIC means Beginners' All-purpose Symbolic Instruction Code. Features of Visual Basic: ❖ Full set of objects - you 'draw' the application ❖ Response to mouse and keyboard actions ❖ Full array of mathematical, string handling, and graphics functions ❖ Can handle fixed and dynamic variable and control arrays ❖ Sequential and random access file support ❖ Useful debugger and error-handling facilities ❖ Powerful database access tools ❖ ActiveX support ❖ Package & Deployment Wizard makes distributing your applications simple
  • 10. Visual Basic Dr. K. Adisesha 10 Steps in Developing Application There are three primary steps involved in building a Visual Basic application. ❖ Draw the user interface ❖ Assign properties to controls ❖ Attach code to controls. Visual Basic operates in three modes. ❖ Design mode - used to build application ❖ Run mode - used to run the application ❖ Break mode - application halted and debugger is available
  • 11. Visual Basic Dr. K. Adisesha 11 Visual Basic IDE ➢ After installing the vb6 compiler, the icon will appear on your desktop or in your programs menu. ➢ Click on the icon to launch the VB6 compiler. ➢ On start up, Visual Basic 6.0 will display the following dialog box as shown.
  • 12. Visual Basic 6 IDE Dr. K. Adisesha 12 ➢ Major windows ❖ Form Designer ❖ Form Layout ❖ Toolbox ❖ Project Explorer ❖ Object Browser ❖ Properties ❖ Code Editor ❖ Immediate, Locals, Watch
  • 13. Visual Basic 6 IDE Dr. K. Adisesha 13 Visual Basic IDE The Main Window consists of the title bar, menu bar, and toolbar. ➢ Title bar indicates the project name, the current Visual Basic operating mode, and the current form. ➢ Menu bar has drop-down menus from which you control the operation of the Visual Basic environment. ➢ Toolbar has buttons that provide shortcuts to some of the menu options.
  • 14. Visual Basic 6 IDE Dr. K. Adisesha 14 Visual Basic IDE- Menu bar
  • 15. Visual Basic 6 IDE Dr. K. Adisesha 15 Drawing the User Interface and Setting Properties: Project Window displays a list of all forms and modules making up your application. You can also obtain a view of the Form or Code windows (window containing the actual Basic coding) from the Project window. ➢ There are two ways to place controls on a form: ❖ Double-click the tool in the toolbox and it is created with a default size on the form. You can then move it or resize it. ❖ Click the tool in the toolbox, then move the mouse pointer to the form window.
  • 16. Visual Basic 6 IDE Dr. K. Adisesha 16 Drawing the User Interface and Setting Properties: The Form Window is central to developing Visual Basic applications. It is where you draw your application.
  • 17. Visual Basic 6 IDE Dr. K. Adisesha 17 Drawing the User Interface and Setting Properties: ➢ Toolbox is the selection menu for controls used in your application. ➢ Form Layout Window shows where (upon program execution) your form will be displayed relative to your monitor’s screen:
  • 18. Visual Basic 6 IDE Dr. K. Adisesha 18 ➢ Toolbox is the selection menu for controls used in your application.
  • 19. Visual Basic 6 IDE Dr. K. Adisesha 19 ➢ Toolbox is the selection menu for controls used in your application.
  • 20. Visual Basic 6 IDE Dr. K. Adisesha 20 ➢ Toolbox is the selection menu for controls used in your application.
  • 21. Control Description Pointer Provides a way to move and resize the controls form PictureBox Displays icons/bitmaps and metafiles. It displays text or acts as a visual container for other controls. TextBox Used to display message and enter text. Frame Serves as a visual and functional container for controls CommandButton Used to carry out the specified action when the user chooses it. CheckBox Displays a True/False or Yes/No option. OptionButton OptionButton control which is a part of an option group allows the user to select only one option even it displays mulitiple choices. Visual Basic 6 IDE Dr. K. Adisesha 21 ➢ Toolbox is the selection menu for controls used in your application.
  • 22. Control Description ListBox Displays a list of items from which a user can select one. ComboBox Contains a TextBox and a ListBox. This allows the user to select an ietm from the dropdown ListBox, or to type in a selection in the TextBox. HScrollBar and VScrollBar These controls allow the user to select a value within the specified range of values Timer Executes the timer events at specified intervals of time DriveListBox Displays the valid disk drives and allows the user to select one of them. DirListBox Allows the user to select the directories and paths, which are displayed. FileListBox Displays a set of files from which a user can select the desired one. Visual Basic 6 IDE Dr. K. Adisesha 22 ➢ Toolbox is the selection menu for controls used in your application.
  • 23. Control Description Shape Used to add shape (rectangle, square or circle) to a Form Line Used to draw straight line to the Form Image used to display images such as icons, bitmaps and metafiles. But less capability than the PictureBox Data Enables the use to connect to an existing database and display information from it. OLE Used to link or embed an object, display and manipulate data from other windows based applications. Label Displays a text that the user cannot modify or interact with. Shape Used to add shape (rectangle, square or circle) to a Form Visual Basic 6 IDE Dr. K. Adisesha 23 ➢ Toolbox is the selection menu for controls used in your application.
  • 24. Visual Basic 6 IDE Dr. K. Adisesha 24 Drawing the User Interface and Setting Properties: Properties Window is used to establish initial property values for objects. ➢ The drop-down box at the top of the window lists all objects in the current form. ➢ Two views are available: ❖ Alphabetic ❖ Categorized ➢ Under this box are the available properties for the currently selected object.
  • 25. Visual Basic 6 IDE Dr. K. Adisesha 25 Drawing the User Interface and Setting Properties: Properties Window is used to establish initial property values for objects. ➢ Properties define the characteristics of an object such as Size, Color etc. or sometimes the way in which it behaves. ➢ For example, a TextBox accepts properties such as: ❖ Enables property: allows the TextBox to be enabled or disabled at run time depending on the condition set to True or False. ❖ Font property: sets a particular font in the TextBox. ❖ MultiLine property: allows the TextBox to accept and display multiple lines at run time. ❖ Text property: of the TextBox control sets a particular text in the control. ❖ Visible property: is used to hide the object at run time. ❖ Width property: sets the TextBox to the desired width at design time.
  • 26. Visual Basic 6 IDE Dr. K. Adisesha 26 Drawing the User Interface and Setting Properties: Properties Window is used to establish initial property values for objects. ➢ A very important property for each object is its name. The name is used by Visual Basic to refer to a particular object in code. ➢ A convention has been established for naming Visual Basic objects. ➢ A few of the prefixes are:
  • 27. Visual Basic 6- Events Dr. K. Adisesha 27 Events: are basically a user action like key press, clicks, mouse movements, etc., or some occurrence like system generated notifications. Applications need to respond to events when they occur. ➢ The combination of controls name and event's name is unique and is the name of the event handler. ➢ The general syntax of event handler is Private sub controlname.cntrolname_eventname () End sub ➢ There are mainly three types of events − ❖ Mouse events ❖ Keyboard events ❖ Focus Events
  • 28. Visual Basic 6- Events Dr. K. Adisesha 28 The Mouse events: ➢ Click :This event takes place when user clicks the mouse button once Example : Private Sub Form1_Click() Form1.print “click event is occur” End Sub ➢ DblClick : The Double click event is called when user clicks the Mouse buttons Twice. Example : Private Sub Form1_DblClick() Form1.print “Double click event is occur” End Sub ➢ MouseDown : The MouseDown event is called when user presses the Mouse buttons down Example : Private Sub Form1_MouseDown() Form1.print “Mouse Down event is occur” End Sub
  • 29. Visual Basic 6- Events Dr. K. Adisesha 29 The Mouse events: ➢ MouseUp :The MouseUp event is called when user presses the Mouse buttons up Example : Private Sub Form1_MouseUp() Form1.print “Mouse Up event is occur” End Sub ➢ MouseMove: The MouseMove event is called when user Moves the Mouse over Form. Example : Private Sub Form1_MouseMove() Form1.print “Mouse Move event is occur”” End Sub
  • 30. Visual Basic 6- Events Dr. K. Adisesha 30 The Keyboard events: ➢ KeyDown: The KeyDown event is called when user presses the KeyBoard buttons down Example : Private Sub Form1_KeyDown() Form1.print “KeyDown event is occur” End Sub ➢ KeyUp :The KeyUp event is called when user presses the Mouse buttons up. Example : Private Sub Form1_KeyUp() Form1.print “Key Up event is occur” End Sub ➢ Change :The change event is triggered by various controls when their contents change. Example : Private Sub Text1_Change() End Sub
  • 31. Visual Basic 6- Events Dr. K. Adisesha 31 The Focus event: Focus is the ability of a control to receive user input via keyboard. When an object has the focus, it can receive input from a user. ➢ These are related events, when the focus is move on one control to the other. ❖ SetFocus : Event occurs when user can change the focus from one control to other. ❖ GotFocus : GotFocus event to initialize a control for editing. Private Sub Text1_GotFocus () Text1.text= “event is occur” End Sub ❖ LostFocus : LostFocus event to validate the data entered by the use. Private Sub Text1_LostFocus () Text2.setFocus End Sub
  • 32. Event Occurrence Change The user modifies text in a combo box or text box. Click The user clicks the primary mouse button on an object. DblClick The user double-clicks the primary mouse button on an object. DragDrop The user drags an object to another location. DragOver The user drags an object over another control. GotFocus An object receives focus. KeyDown The user presses a keyboard key while an object has focus. Visual Basic 6- Events Dr. K. Adisesha 32 ➢ Events: are what happen in and around your program. These events occur as a result of some specific user action, such as moving the mouse, pressing a key on the keyboard, or clicking a text box.
  • 33. Event Occurrence KeyPress The user presses and releases a keyboard key while an object has focus. KeyUp The user releases a keyboard key while an object has focus. LostFocus An object loses focus. MouseDown The user presses any mouse button while the mouse pointer is over an object. MouseMove The user moves the mouse pointer over an object. MouseUp The user releases any mouse button while the mouse pointer is over an object. Visual Basic 6- Events Dr. K. Adisesha 33 ➢ Events: are what happen in and around your program. These events occur as a result of some specific user action, such as moving the mouse, pressing a key on the keyboard, or clicking a text box.
  • 34. Visual Basic 6 IDE Dr. K. Adisesha 34 Example: Program to find sum and average of two numbers
  • 35. Discussion Dr. K. Adisesha 35 Queries ? Dr. K. Adisesha 9449081542