did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781418836238

Microsoft Visual Basic 2005: RELOADED, Second Edition

by
  • ISBN13:

    9781418836238

  • ISBN10:

    1418836230

  • Edition: 2nd
  • Format: Paperback
  • Copyright: 2006-01-17
  • Publisher: Course Technology
  • View Upgraded Edition
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $253.99

Summary

Microsoft Visual Basic 2005: RELOADED, Second Edition leverages the powerful pedagogy of the first edition, but takes it to the next level with Visual Basic 2005. The highly visual four-color interior clearly illustrates topics and features such as Tips and How To boxes. Added to the end of every chapter is an exciting tutorial in which students create and program a game. Complete programming examples have been updated at the end of each chapter, allowing students to see the concepts they have learned and how they are applied. The new Self-Check Question and Answer sections allow students to determine whether they understand the topics. Quick Reviews and Key Terms, as well as a Glossary at the end of the book, provide easy reference for important concepts and terms.

Table of Contents

Preface xiii
Read This Before You Begin xviii
An Introduction to Visual Basic 2005
1(70)
Programmers
2(1)
A Brief History of Programming Languages
2(2)
Machine Languages
3(1)
Assembly Languages
3(1)
High-Level Languages
3(1)
OOP Terminology
4(2)
Visual Studio 2005
6(4)
The Common Language Runtime
7(1)
Solutions, Projects, and Files
7(1)
Starting Microsoft Visual Studio 2005
8(2)
Creating a Visual Basic 2005 Windows-Based Application
10(2)
Managing the Windows in the IDE
11(1)
The Windows Form Designer Window
12(1)
The Solution Explorer Window
13(2)
The Properties Window
15(4)
Properties of a Windows Form Object
16(3)
The Toolbox Window
19(5)
The Label Tool
21(1)
The Button Tool
22(2)
The Code Editor Window
24(3)
The Me.Close Method
26(1)
Saving a Solution
27(1)
Starting and Ending an Application
27(3)
Using an Assignment Statement
30(1)
Printing Your Code
31(1)
Closing the Current Solution
32(1)
Opening an Existing Solution
32(1)
Programming Tutorial: Creating a Visual Basic 2005 Application
33(23)
Starting Visual Studio .NET
33(1)
Creating a Visual Basic 2005 Windows-based Application
34(1)
Managing the Windows in the IDE
35(1)
Using the Toolbox Window to Add Objects to a Form
36(4)
Using the Properties Window to Change an Object's Properties
40(3)
Using the Format Menu
43(1)
Displaying an Image in a Picture Box Control
44(2)
Starting and Ending an Application
46(3)
Writing Visual Basic 2005 Code
49(4)
Closing the Current Solution
53(1)
Opening an Existing Solution
53(1)
Printing Your Code
53(1)
Syntax Errors in Code
54(2)
Exiting Visual Studio .NET
56(1)
Programming Example: State Capitals
56(2)
User Interface
56(2)
Code
58(1)
Quick Review
58(2)
Key Terms
60(3)
Self-Check Questions and Answers
63(1)
Review Questions
64(3)
Review Exercises - Short Answer
67(1)
Computer Exercises
67(2)
Case Projects
69(2)
Castle's Ice Cream Parlor
69(1)
Allen School District
69(1)
Elvira Learning Center
69(1)
Mary Golds Flower Shop
70(1)
Creating a User Interface
71(56)
Planning an Application
72(1)
Skate-Away Sales
72(6)
Identifying the Application's Tasks
72(2)
Identifying the Objects
74(3)
Identifying the Events
77(1)
Designing the User Interface
78(8)
Arranging the Controls
81(3)
Including Graphics in the User Interface
84(1)
Including Different Fonts in the User Interface
85(1)
Including Color in the User Interface
85(1)
Assigning Access Keys
86(1)
Setting the TabIndex Property
87(3)
Designating Default and Cancel Buttons
90(1)
Including Splash Screens and Dialog Boxes in an Application
91(2)
The Timer Tool
93(2)
Programming Tutorial: Creating the Color Game Application
95(16)
Completing the MainForm's Interface
96(4)
Coding the MainForm
100(1)
Coding the Color Buttons' Click Event Procedures
101(1)
Coding the Clear Colors Button's Click Event Procedure
102(1)
Adding the DialogForm to the Color Game Project
102(2)
Coding the DialogForm and the Options Button
104(2)
Adding the SplashScreenForm to the Color Game Project
106(1)
Completing the Color Game Application
107(4)
Programming Example: Moonbucks Coffee
111(4)
TOE Chart
112(1)
User Interface
112(1)
Objects, Properties, and Settings
113(1)
Tab Order
114(1)
Code
115(1)
Quick Review
115(2)
Key Terms
117(1)
Self-Check Questions and Answers
118(1)
Review Questions
119(2)
Review Exercises - Short Answer
121(1)
Computer Exercises
122(2)
Case Projects
124(3)
Crispies Bagels and Bites
124(1)
Perry Primary School
124(1)
Jasper Health Foods
125(1)
Sophia's Italian Deli
125(2)
Variables, Constants, Methods, and Calculations
127(68)
Variables
128(3)
Selecting a Data Type for a Variable
128(2)
Selecting a Name for a Variable
130(1)
Declaring A Variable
131(1)
Assigning Data to an Existing Variable
132(9)
Using the TryParse Method
134(6)
Using the Convert Class
140(1)
Writing Arithmetic Expressions
141(3)
The Scope and Lifetime of a Variable
144(4)
Static Variables
148(2)
Named Constants
150(2)
Option Explicit and Option Strict
152(2)
Coding the Skate-Away Sales Application
154(4)
Using Pseudocode to Plan a Procedure
155(1)
Using a Flowchart to Plan a Procedure
156(2)
Coding the Clearbutton's Click Event Procedure
158(3)
Clearing the Contents of a Control's Text Property
159(1)
Setting the Focus
160(1)
Coding The Calcbutton's Click Event Procedure
161(3)
Testing and Debugging the Application
164(2)
Formatting Numeric Output
166(4)
Programming Tutorial: Creating the Change Game Application
170(7)
Completing the Change Game Application
171(1)
Coding the clearButton's Click Event Procedure
172(1)
Coding the calcButton's Click Event Procedure
173(4)
Programming Example: Currency Calculator
177(4)
TOE Chart
178(1)
User Interface
178(1)
Objects, Properties, and Settings
179(1)
Tab Order
180(1)
Pseudocode
180(1)
Code
180(1)
Quick Review
181(2)
Key Terms
183(1)
Self-Check Questions and Answers
184(2)
Review Questions
186(2)
Review Exercises - Short Answer
188(1)
Computer Exercises
189(4)
Case Projects
193(2)
Willow Pools
193(1)
Builder's Inc
193(1)
Tile Limited
193(1)
Quick Loans
193(2)
Making Decisions in a Program
195(74)
The Selection Structure
196(1)
Writing Pseudocode for the If and If/Else Selection Structures
197(1)
Flowcharting the If and If/Else Selection Structures
198(1)
Coding the If and If/Else Selection Structures
199(1)
Comparison Operators
200(9)
Using Comparison Operators -- Swapping Numeric Values
202(4)
Using Comparison Operators -- Example 2
206(3)
Using the ToUpper and ToLower Methods
209(2)
Logical Operators
211(6)
Using the Truth Tables
214(2)
Using Logical Operators in an If...Then...Else Statement
216(1)
The String.IsNullOrempty Method
217(1)
Modifying the Skate-Away Sales Application
218(3)
The MessageBox.Show Method
221(5)
Nested Selection Structures
226(5)
The If/Elself/Else Selection Structure
231(2)
The Case Selection Structure
233(4)
Using To and Is in an ExpressionList
235(2)
Generating Random Integers
237(2)
Programming Tutorial: Creating the Rock, Paper, Scissors Game Application
239(1)
Creating the Rock, Paper, Scissors Game Interface
240(12)
Coding the Rock, Paper, Scissors Game Application
242(6)
Programming Example: Fat Calculator Application
248(1)
TOE Chart
249(1)
User Interface
249(1)
Objects, Properties, and Settings
249(1)
Tab Order
250(1)
Pseudocode
250(1)
Code
251(1)
Quick Review
252(1)
Key Terms
253(2)
Self-Check Questions and Answers
255(1)
Review Questions
256(3)
Review Exercises - Short Answer
259(4)
Computer Exercises
263(5)
Case Projects
268(1)
Allenton Water Department
268(1)
Professor Juarez
268(1)
Barren Community Center
268(1)
Willow Health Club
268(1)
Repeating Program Instructions
269(80)
The Repetition Structure
270(1)
The For...Next Statement
270(4)
The Financial.Pmt Method
274(7)
The Monthly Payment Calculator Application
277(1)
Selecting the Existing Text in a Text Box
278(2)
Coding a Control's TextChanged Event Procedure
280(1)
Using a List Box in an Interface
281(6)
Adding Items to a List Box
282(2)
The SelectedItem and SelectedIndex Properties
284(2)
The SelectedValueChanged and SelectedIndexChanged Events
286(1)
Modifying the Monthly Payment Calculator Application
287(3)
Using a Combo Box in an Interface
290(4)
The Do...Loop Statement
294(6)
Using Counters and Accumulators
300(2)
The InputBox Function
300(2)
The Sales Express Application
302(5)
Programming Tutorial: Creating the Car Race Game Application
307(19)
Completing the Car Race Game Interface
308(4)
Coding the Car Race Game Application
312(1)
Moving a Control While an Application Is Running
313(2)
Coding the raceTimer's Tick Event Procedure
315(11)
Programming Example: Grade Calculator
326(4)
TOE Chart
326(1)
User Interface
327(1)
Objects, Properties, and Settings
327(1)
Tab Order
328(1)
Pseudocode
328(1)
Code
329(1)
Quick Review
330(2)
Key Terms
332(1)
Self-Check Questions and Answers
333(2)
Review Questions
335(3)
Review Exercises - Short Answer
338(2)
Computer Exercises
340(7)
Case Projects
347(2)
Sonheim Manufacturing Company
347(1)
Random Numbers Game
348(1)
Edmonton Bank
348(1)
Powder Skating Rink
348(1)
String Manipulation and More Controls
349(82)
Manipulating Strings in Visual Basic
350(1)
Determining the Number of Characters Contained in a String
350(2)
Removing Characters from a String
352(6)
The Remove Method
356(2)
Replacing Characters in a String
358(6)
The Mid Statement
361(3)
Inserting Characters In a String
364(6)
The Insert Method
368(2)
Search a String for One or More Characters
370(12)
The Contains Method
375(3)
The IndexOf Method
378(4)
Accessing Characters Contained in a String
382(3)
Comparing Strings
385(8)
The Like Operator
388(5)
More Controls
393(6)
Using Radio Buttons
393(3)
Using Check Boxes
396(3)
Programming Tutorial: Hangman Game
399(11)
TOE Chart
400(1)
Coding the Hangman Game
400(10)
Programming Example: Glasgow Health Club Dues Calculator Application
410(7)
TOE Chart
411(1)
User Interface
411(1)
Objects, Properties, and Settings
412(1)
Tab Order
413(1)
Pseudocode
414(1)
Code
414(3)
Quick Review
417(1)
Key Terms
418(1)
Self-Check Questions and Answers
419(1)
Review Questions
420(3)
Review Exercises -- Short Answer
423(1)
Computer Exercises
424(5)
Case Projects
429(2)
Georgetown Credit
429(1)
Jacobson Finance
430(1)
BobCat Motors
430(1)
Delta Primary School
430(1)
Sub and Function Procedures
431(64)
Procedures
432(1)
Sub Procedures
432(6)
The Gadis Antiques Application
434(4)
Including Parameters in an Independent Sub Procedure
438(1)
Passing Variables
438(10)
Passing Variables by Value
439(5)
Passing Variables by Reference
444(4)
Associating a Procedure with Different Objects and Events
448(3)
Function Procedures
451(4)
The Pine Lodge Application
452(3)
Programming Tutorial: Concentration Game Application
455(21)
TOE Chart
456(1)
Coding the Concentration Game Application
457(7)
Converting Object Variables
464(3)
Completing the Concentration Game Application
467(9)
Programming Example: Rainfall Application
476(4)
TOE Chart
476(1)
User Interface
476(1)
Objects, Properties, and Settings
477(1)
Tab Order
478(1)
Pseudocode
478(1)
Code
479(1)
Quick Review
480(1)
Key Terms
481(1)
Self-Check Questions and Answers
482(1)
Review Questions
483(3)
Review Exercises - Short Answer
486(2)
Computer Exercises
488(4)
Case Projects
492(3)
Car Shoppers Inc.
492(1)
Wallpaper Warehouse
492(1)
Cable Direct
493(1)
Harvey Industries
493(2)
Arrays
495(56)
Using Arrays
496(1)
One-Dimensional Arrays
496(2)
Storing Data in a One-Dimensional Array
498(1)
Manipulating One-Dimensional Arrays
499(17)
Displaying the Contents of a One-Dimensional Array
500(2)
The For Each...Next Statement
502(1)
Using the Subscript to Access an Element in a One-Dimensional Array
503(2)
Searching a One-Dimensional Array
505(2)
Calculating the Average Amount Stored in a One-Dimensional Numeric Array
507(2)
Determining the Highest Value Stored in a One-Dimensional Array
509(2)
Updating the Values Stored in a One-Dimensional Array
511(2)
Sorting the Data Stored in a One-Dimensional Array
513(3)
Parallel One-Dimensional Arrays
516(3)
Two-Dimensional Arrays
519(6)
Storing Data in a Two-Dimensional Array
521(1)
Searching a Two-Dimensional Array
522(3)
Programming Tutorial: Lottery Game Application
525(5)
TOE Chart
525(1)
Coding the Lottery Game Application
525(5)
Programming Example: Perrytown Gift Shop Application
530(6)
TOE Chart
531(1)
User Interface
531(1)
Objects, Properties, and Settings
532(1)
Tab Order
533(1)
Pseudocode
533(1)
Code
534(2)
Quick Review
536(1)
Key Terms
536(1)
Self-Check Questions and Answers
537(1)
Review Questions
538(4)
Review Exercises - Short Answer
542(1)
Computer Exercises
543(6)
Case Projects
549(2)
JM Sales
549(1)
Waterglen Horse Farms
549(1)
Conway Enterprises
550(1)
Tic-Tac-Toe
550(1)
Structures and Sequential Access files
551(46)
Structures
552(10)
Using a Structure to Declare a Variable
553(1)
Passing a Structure Variable to a Procedure
554(5)
Creating an Array of Structure Variables
559(3)
File Types
562(1)
Sequential Access Files
562(1)
Writing Information to a Sequential Access File
563(4)
Aligning Columns of Information in a Sequential Access File
566(1)
Reading Information from a Sequential Access File
567(3)
Determining Whether a File Exists
568(2)
The FormClosing Event
570(1)
The Friends Application
571(4)
Programming Tutorial: Modified Car Race Game Application
575(6)
Modifying the Car Race Game Application
576(5)
Programming Example: Glovers Application
581(5)
TOE Chart
582(1)
User Interface
582(1)
Objects, Properties, and Settings
582(1)
Tab Order
583(1)
Pseudocode
583(1)
Code
584(2)
Quick Review
586(1)
Key Terms
586(1)
Self-Check Questions and Answers
587(1)
Review Questions
588(2)
Review Exercises - Short Answer
590(2)
Computer Exercises
592(3)
Case Projects
595(2)
Warren High School
595(1)
WKRK-Radio
595(1)
Shoe Circus
595(1)
Revellos
595(2)
Creating Classes and Objects
597(60)
Classes and Objects
598(1)
Defining a Class
598(3)
Example 1---Using a Class That Contains Public Variables Only
601(3)
Example 2---Using a Class That Contains a Private Variable, a Property Procedure, and Two Methods
604(8)
Constructors
608(1)
Methods Other Than Constructors
609(3)
Example 3---Using a Class That Contains Two Constructors
612(5)
Example 4---Using a Class That Contains Overloaded Methods
617(5)
Example 5---Using a Base Class and a Derived Class
622(4)
Programming Tutorial: Card Game
626(12)
TOE Chart
627(1)
Coding the Card Game Application
627(11)
Programming Example: Kessler Landscaping Application
638(4)
TOE Chart
639(1)
User Interface
639(1)
Pseudocode
639(1)
Code (MyRectangle.vb file)
640(1)
Code (Main Form.vb file)
641(1)
Quick Review
642(1)
Key Terms
643(1)
Self-Check Questions and Answers
644(1)
Review Questions
645(2)
Review Exercises -- Short Answer
647(2)
Computer Exercises
649(5)
Case Projects
654(3)
Glasgow Health Club
654(1)
Franklin Calendars
655(1)
Bingo Game
655(1)
Pennington Book Store
655(2)
Using ADO.NET 2.0
657(50)
Database Terminology
658(2)
ADO.NET 2.0
660(1)
Connecting a Database to an Application
661(3)
Previewing the Data Contained in a Dataset
662(2)
Binding the Objects in a Dataset
664(8)
Having the Computer Create a Bound Control
664(6)
Binding to an Existing Control
670(2)
Accessing the Records in a Dataset
672(2)
Dataset Designer
674(10)
Creating a New Query
678(2)
Using the Query Builder Dialog Box
680(1)
Allowing the User to Run a Query
681(3)
Programming Tutorial: Trivia Game Application
684(10)
TOE Chart
685(1)
Coding the Trivia Game Application
685(9)
Programming Example: Cartwright Industries Application
694(3)
TOE Chart
695(1)
User Interface (drag the table to the form)
695(1)
Objects, Properties, and Settings
696(1)
Code
696(1)
Quick Review
697(1)
Key Terms
698(1)
Self-Check Questions and Answers
699(1)
Review Questions
700(2)
Review Exercises -- Short Answer
702(1)
Computer Exercises
703(2)
Case Projects
705(2)
Addison Playhouse
705(1)
College Courses
705(1)
Sports Action
705(1)
The Fiction Bookstore
706(1)
Appendix A How To Boxes 707(4)
Appendix B GUI Design Rules 711(4)
Appendix C Visual Basic Type Conversion Functions 715(2)
Appendix D Creating a SQL Server Database 717(6)
Glossary 723(10)
Index 733

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program