Title: Visual BASIC
1Visual BASIC
- Integrated Development Environment (IDE)
2History of Visual Basic
Visual Basic 2005 (VB9) November 2005
Visual Basic 2003 (VB8) April 2003
Visual Basic .Net (VB7) February 2002
.Net Generation
Pre .Net Generation
Visual Basic 6.0 (VB6) October 1998
Visual Basic 5.0 (VB5) April 1997
Visual Basic 4.0 (VB4) October 1996
Visual Basic 3.0 (VB3) June 1993
Visual Basic 2.0 (VB2) November 1992
Visual Basic 1.0 (VB1) May 1991
3VISUAL BASIC
- VISUAL
- method of creating a Graphical User Interface
(GUI)
- BASIC
- method of writing program codes for functionality
4VISUAL BASIC
- Developed and owned by Microsoft
- Created to make application programs for Windows
OS. - It is an object-oriented and event-driven
programming language
- VB 2005 Express
- A free version of Visual Basic
- The IDE contains easy-to-use and easy-to-learn
tools for creating .NET applications, using the
Visual Basic programming language. - Suitable for students or other people learning
the VB language
5Parts of VB 2005 Express IDE
Start Page of VB 2005 Express IDE
6Parts of VB 2008 Express IDE
Start Page of VB 2008 Express IDE
7Parts of VB 2005 Express IDE
Main Menu Bar
Toolbar
Solution Explorer
Properties Window
Design Area
Toolbox
8Visual BASIC IDE
Menu Bar
Main Tool Bar
Project Explorer Window
Tool Box
Form Designer Window
Properties Window
Form Layout Window
Code Window
9Main MenuBar
- It consists of all the commands provided by the
IDE under the different menus based on their
functionality - provides access to such functions as opening
files, interacting with an application, or help
10Standard ToolBar
- Provides quick access to frequently used commands
11ToolBox
- It consists of the various controls that can be
used to design the graphical user interfaces of
the application
12Properties Window
- describes the properties of the form and its
controls - lists all the properties of the object that's
currently selected and gives you the opportunity
to modify them.
13Solution Explorer Window(Project Explorer Window)
- contains the project
- files
- gives an overview of
- all the modules that
- are contained in the
- application.
- allows to switch between different windows
-
14Form Designer Window
- A design space which contains objects or
controls used for the application - It allows GUI creation by providing the
foundation for controls
15- CODE EDITOR
- (Code Window)
- used to write codes that determine the behavior
of the forms and other objects in the
application.
- CODE EDITOR (Code Window)
- used to write codes that determine the behavior
of the forms and other objects in the
application.
- IntelliSense Window
- It allows easy access to properties and methods
of controls.
- IntelliSense Window
- It allows easy access to properties and methods
of controls.
16VB EXPRESS IDE
17Getting Started with Visual Basic
18Steps in Creating Simple Applications
- Create the User Interface (GUI)
- Set the Properties of the Objects
- Enter the appropriate Source Code
- Run the Program
19Loading Visual BASIC
- Click Start gt Programs gt Microsoft Visual Studio
6.0 gt Microsoft Visual Basic 6.0
20Select A Project Type
- select the type of project you want to create.
- select STANDARD EXE for your project type.
21Saving a Project
- To save, click File on the file menu then select
Save Project. - Visual BASIC will ask for the filename of the
form. Change the folder where you intend to save
your project files. Then, type the filename of
the form and click Save.
You may click this icon to instantly create a
folder