700 likes | 1.66k Views
Microsoft Visual Basic 2010: Reloaded, Fourth Edition. 2. Objectives. After studying this chapter, you should be able to:Create a Visual Basic 2010 Windows-based applicationManage the windows in the Integrated Development Environment (IDE)Set the properties of an objectAdd a control to a formUs
E N D
1. Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter One
An Introduction to Visual Basic 2010
2. Microsoft Visual Basic 2010: Reloaded, Fourth Edition 2 Objectives After studying this chapter, you should be able to:
Create a Visual Basic 2010 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
Use the options on the Format menu
3. Microsoft Visual Basic 2010: Reloaded, Fourth Edition 3 Objectives (cont'd.) 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
Print an application’s code and interface
Close and open an existing solution
Find and correct a syntax error
4. Visual Studio 2010 Visual Basic 2010 is an object-oriented programming language
Object: anything that can be seen, touched, or used
Class: a pattern used to create an object
Instance: an object created from a class; object is said to be instantiated
Integrated Development Environment (IDE):
Contains all the tools and features needed to create, run, and test programs
Includes Visual Basic, Visual C++, Visual C#, and Visual F# Microsoft Visual Basic 2010: Reloaded, Fourth Edition 4
5. Microsoft Visual Basic 2010: Reloaded, Fourth Edition 5 Visual Studio 2010 (cont'd.) Application: program or suite of programs
Windows-based application:
Has a Windows user interface
Runs on a personal 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
6. Microsoft Visual Basic 2010: Reloaded, Fourth Edition 6 Creating a Visual Basic 2010 Windows Application Windows applications consist of 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 portion of the solution
A solution may contain one or more projects
7. Microsoft Visual Basic 2010: Reloaded, Fourth Edition 7 Solutions, Projects, and Files (cont'd.)