610 likes | 804 Views
Microsoft Visual Basic 2008: Reloaded, Third Edition. 2. Objectives. After studying this chapter, you should be able to:Define the terminology used in programmingCreate a Visual Basic 2008 Windows-based applicationManage the windows in the Integrated Development Environment (IDE)Set the properti
E N D
1. Microsoft Visual Basic 2008: Reloaded Third Edition Chapter One
An Introduction to Visual Basic 2008
2. Microsoft Visual Basic 2008: Reloaded, Third Edition 2 Objectives After studying this chapter, you should be able to:
Define the terminology used in programming
Create a Visual Basic 2008 Windows-based application
Manage the windows in the Integrated Development Environment (IDE)
Set the properties of an object
Add a control to a form
Use the Label, Button, and PictureBox tools
3. Microsoft Visual Basic 2008: Reloaded, Third Edition 3 Objectives (continued) Enter code in the Code Editor window
Save a solution
Start and end an application
Print an application’s code and interface
Write an assignment statement
Close and open an existing solution
Find and correct a syntax error
4. Microsoft Visual Basic 2008: Reloaded, Third Edition 4 Programmers Programs: directions given to computers
Programmers: people who write programs
Typical tasks performed by a programmer include:
Analyze a problem statement or project specification
Plan an appropriate solution and convert the solution to instructions that the computer can follow
Programmers should be able to:
Think logically and pay attention to detail
Be patient and persistent, and able to work under pressure
Be creative in designing solutions and testing them
5. Microsoft Visual Basic 2008: Reloaded, Third Edition 5 Programming Languages Programming languages: used to communicate with the computer
Object-oriented programming language: a language that allows the programmer to use objects to accomplish a program’s goal
Object: anything that can be seen, touched, or used
Every object is created from a class
Class: a pattern or blueprint used to create an object
Visual Basic is available as a stand-alone product (Express Edition) or as part of Visual Studio 2008
6. Visual Studio 2008 Integrated Development Environment (IDE):
Contains all the tools and features needed to create, run, and test programs
Includes an editor and compiler
Visual Studio 2008:
IDE used to create Windows- or Web-based programs
Includes Visual Basic 2008, Visual C++ 2008, and Visual C# 2008 Microsoft Visual Basic 2008: Reloaded, Third Edition 6
7. Microsoft Visual Basic 2008: Reloaded, Third Edition 7 Visual Studio 2008 (continued) Application: program or suite of programs
Windows-based application:
Has a Windows user interface
Runs on a desktop computer
User interface: what the user sees and interacts with when using an application
Web-based application:
Has a Web user interface
Runs on a server
Accessed with a computer browser
8. Microsoft Visual Basic 2008: Reloaded, Third Edition 8 Solutions, Projects, and Files Solution: a container that stores projects and files for an entire application
Project: a container that stores files associated with a specific piece of the solution
A solution may contain one or more projects
9. Microsoft Visual Basic 2008: Reloaded, Third Edition 9 Solutions, Projects, and Files (continued)