BN.com Gift Guide

Visual Basic 2010 How to Program / Edition 5

Other Format (Print)
Rent
Rent from BN.com
$48.52
(Save 67%)
Est. Return Date: 02/18/2015
Buy Used
Buy Used from BN.com
$97.58
Used and New from Other Sellers
Used and New from Other Sellers
from $3.87
Usually ships in 1-2 business days
(Save 97%)
Other sellers (Other Format)
  • All (15) from $3.87   
  • Used (15) from $3.87   
Close
Sort by
Page 1 of 2
Showing 1 – 10 of 15 (2 pages)
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$3.87
Seller since 2014

Feedback rating:

(6)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

Acceptable
2010 Paperback Fair Text only, rubbed corners, front cover peeling, Item is intact, but may show shelf wear. Pages may include notes and highlighting. May or may not include ... supplemental or companion material. Access codes may or may not work. Connecting readers since 1972. Customer service is our top priority. Read more Show Less

Ships from: Wauwatosa, WI

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$3.99
Seller since 2009

Feedback rating:

(4904)

Condition: Good
5th edition. 2010 Edition. Missing DVD. Access code visible. Cover is creased. Some cover and page wear. Slight markings on outside page edges. Page corners are creased. Slight ... amount of writing. Ships the next business day with tracking. Read more Show Less

Ships from: Hillsboro, OR

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$4.30
Seller since 2002

Feedback rating:

(11864)

Condition: Very Good
Has minor wear and/or markings. SKU:9780132152136-3-0

Ships from: Salem, OR

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$4.34
Seller since 2009

Feedback rating:

(3472)

Condition: Good
Ships same day or next business day! UPS expedited shipping available (Priority Mail for AK/HI/APO/PO Boxes). Used sticker & some writing and/or highlighting. Used books may not ... include working access code or dust jacket Read more Show Less

Ships from: Columbia, MO

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$4.50
Seller since 2009

Feedback rating:

(1841)

Condition: Good
2010 Paperback Good Books have varying amounts of wear and highlighting. CD is included. Usually ships within 24 hours in quality packaging. Satisfaction guaranteed. This item ... may not include any CDs, Infotracs, Access cards or other supplementary material. Read more Show Less

Ships from: Lincoln, NE

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$4.50
Seller since 2002

Feedback rating:

(11864)

Condition: Good
May include moderately worn cover, writing, markings or slight discoloration.Missing components. SKU:9780132152136-4-1

Ships from: Salem, OR

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$4.50
Seller since 2002

Feedback rating:

(11864)

Condition: Good
May include moderately worn cover, writing, markings or slight discoloration. SKU:9780132152136-4-0

Ships from: Salem, OR

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$15.82
Seller since 2008

Feedback rating:

(17854)

Condition: Acceptable
Used, Acceptable Condition, may show signs of wear and previous use. Please allow 4-14 business days for delivery. 100% Money Back Guarantee, Over 1,000,000 customers served.

Ships from: Westminster, MD

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
$20.44
Seller since 2014

Feedback rating:

(45)

Condition: Good
0132152134 used book - free tracking number with every order. book may have some writing or highlighting, or used book stickers on front or back <>

Ships from: centerville, OH

Usually ships in 1-2 business days

  • Standard, 48 States
$20.44
Seller since 2014

Feedback rating:

(45)

Condition: Good
0132152134 Good Condition - free tracking number with every order. book may have some writing or highlighting, or used book stickers on front or back <>

Ships from: centerville, OH

Usually ships in 1-2 business days

  • Standard, 48 States
Page 1 of 2
Showing 1 – 10 of 15 (2 pages)
Close
Sort by

Overview

Visual Basic 2010 How to Program is appropriate for all basic-to-intermediate level courses in Visual Basic 2010 programming.

Created by world-renowned programming instructors Paul and Harvey Deitel, Visual Basic 2010 How to Program, Fifth Edition introduces all facets of the Visual Basic 2010 language through a hands-on approach with hundreds of working programs. This book has been thoroughly updated to reflect the major innovations Microsoft has incorporated in Visual Basic 2010 and .NET 4.0; all discussions and sample code have been carefully audited against the newest Visual Basic language specification. The many new platform features covered in depth in this edition include: LINQ data queries, Windows Presentation Foundation (WPF), ASP.NET Ajax and the Microsoft Ajax Library, Silverlight-based rich Internet application development, and creating Web services with Windows Communication Foundation (WCF). New language features introduced in this edition: object anonymous types, object initializers, implicitly typed local variables and arrays, delegates, lambda expressions, and extension methods.

Students begin by getting comfortable with the free Visual Basic Express 2010 IDE and basic VB syntax included on the CD. Next, they build their skills one step at a time, mastering control structures, classes, objects, methods, variables, arrays, and the core techniques of object-oriented programming. With this strong foundation in place, the Deitels introduce more sophisticated techniques, including inheritance, polymorphism, exception handling, strings, GUI's, data structures, generics, and collections. Throughout, the authors show developers how to make the most of Microsoft’s Visual Studio tools. A series of appendices provide essential programming reference material on topics ranging from number systems to the Visual Studio Debugger, UML 2 to Unicode and ASCII.

Read More Show Less

Editorial Reviews

From the Publisher
"Addressing various business applications, the authors discuss the programming topics needed to implement those applications and provide simple, short, complete examples. Chapter 2 emphasizes how quickly readers can design Windows-based user interfaces." — Narges Kasiri, Oklahoma State University

"A well written, authoritative textbook for all those who want to learn Visual Basic programming from the ground up." — Dr. Hamid R. Nemati, The University of North Carolina at Greensboro

"Contains the information a non-programmer needs to become a master Visual Basic programmer. Excellent code examples." — Jeffrey P. Scott, Blackhawk Technical College

"This book teaches you everything you need to know to build great applications the right way." — Joe Stagner, Microsoft

Read More Show Less

Product Details

  • ISBN-13: 9780132152136
  • Publisher: Prentice Hall
  • Publication date: 5/25/2010
  • Series: Pearson Custom Computer Science Series
  • Edition description: Older Edition
  • Edition number: 5
  • Pages: 672
  • Product dimensions: 7.30 (w) x 9.16 (h) x 0.85 (d)

Meet the Author

Paul J. Deitel, CEO and Chief Technical Officer of Deitel & Associates, Inc., is a graduate of MIT’s Sloan School of Management, where he studied InformationTechnology. He holds the Java Certified Programmer and Java Certified Developer certifications, and has been designated by Sun Microsystems as a Java Champion. In 2012, he was named a Microsoft C# MVP. Through Deitel & Associates, Inc., he has delivered Java, C, C++, C# and Visual Basic courses to industry clients, including IBM, Sun Microsystems, Dell, Lucent Technologies, Fidelity, NASA at the Kennedy Space Center, the National Severe Storm Laboratory, White Sands Missile Range, Rogue Wave Software, Boeing, Stratus, Cambridge Technology Partners, Open Environment Corporation, One Wave, Hyperion Software, Adra Systems, Entergy, CableData Systems, Nortel Networks, Puma, iRobot, Invensys and many more. He has also lectured on Java and C++ for the Boston Chapter of the Association for Computing Machinery. He and his father, Dr. Harvey M. Deitel, are the world’s best-selling programming language textbook authors.

Dr. Harvey M. Deitel, Chairman and Chief Strategy Officer of Deitel & Associates, Inc., has 45 years of academic and industry experience in the computer field. Dr. Deitel earned B.S. and M.S. degrees from the MIT and a Ph.D. from Boston University. He has 20 years of college teaching experience, including earning tenure and serving as the Chairman of the Computer Science Department at Boston College before founding Deitel & Associates, Inc., with his son, Paul J. Deitel. He and Paul are the co-authors of several dozen books and multimedia packages and they are writing many more. With translations published in Japanese, German, Russian, Spanish, Traditional Chinese, Simplified Chinese, Korean, French, Polish, Italian, Portuguese, Greek, Urdu and Turkish, the Deitels’ texts have earned international recognition. Dr. Deitel has delivered hundreds of professional seminars to major corporations, academic institutions, government organizations and the military.

Read More Show Less

Table of Contents

Preface

Before You Begin

1 Introduction to Computers, the Internet and Visual Basic 1

1.1 Introduction 2

1.2 Computer Organization 3

1.3 Personal Computing, Distributed Computing and Client/Server Computing 4

1.4 Hardware Trends 4

1.5 Microsoft's Windows® Operating System 5

1.6 Machine Languages, Assembly Languages and High-Level Languages 5

1.7 Visual Basic 6

1.8 Some Other Key Programming Languages 7

1.9 The Internet and the World Wide Web 7

1.10 Extensible Markup Language (XML) 8

1.11 Introduction to Microsoft .NET 9

1.12 The .NET Framework and the Common Language Runtime 9

1.13 Test-Driving the Visual Basic Advanced Painter Application 10

1.14 Introduction to Object Technology 13

1.15 Wrap-Up 15

1.16 Web Resources 15

2 Dive Into® Visual Basic 2010 Express 24

2.1 Introduction 25

2.2 Overview of the Visual Studio 2010 IDE 25

2.3 Menu Bar and Toolbar 30

2.4 Navigating the Visual Studio IDE 33

2.4.1 Solution Explorer 35

2.4.2 Toolbox 36

2.4.3 Properties Window 37

2.5 Using Help 38

2.6 Using Visual Programming to Create a Simple Program that Displays Text and an Image 40

2.7 Wrap-Up 51

2.8 Web Resources 52

3 Introduction to Visual Basic Programming 60

3.1 Introduction 61

3.2 Programmatically Displaying Text in a Label 62

3.2.1 Analyzing the Program 63

3.2.2 Modifying A Simple Program to Programmatically Change the Label's Text Property 66

3.3 Addition Program 70

3.4 Building the Addition Program 73

3.5 Memory Concepts 79

3.6 Arithmetic 81

3.7 Decision Making: Equality and Relational Operators 85

3.8 Wrap-Up 90

4 Introduction to Problem Solving and Control Statements 103

4.1 Introduction 104

4.2 Algorithms 104

4.3 Pseudocode 105

4.4 Control Structures 105

4.5 If...Then Selection Statement 108

4.6 If...Then...Else Selection Statement 109

4.7 Nested If...Then...Else Statements 110

4.8 Repetition Statements 111

4.9 Compound Assignment Operators 113

4.10 Formulating Algorithms: Counter-Controlled Repetition 115

4.11 Formulating Algorithms: Nested Control Statements 121

4.12 Using the Debugger: Locating a Logic Error 127

4.12.1 Breakpoints and Running the Program 129

4.12.2 Quick Info Box 130

4.12.3 Locals Window 131

4.12.4 Using the Step Over Command to Execute Statements 131

4.13 Wrap-Up 133

5 Problem Solving and Control Statements: Part 2 149

5.1 Introduction 150

5.2 For...Next Repetition Statement 150

5.2.1 For.,.Next Statement Header Components 152

5.2.2 General Form of a For...Next Statement 152

5.2.3 Declaring the Control Variable Before a For...Next Statement 153

5.2.4 Using Expressions in the For...Next Statement's Header 153

5.2.5 For...Next Statement UML Activity Diagram 153

5.2.6 Local Type Inference 153

5.3 Examples Using the For...Next Statement 155

5.4 Application: Interest Calculator 155

5.5 Formulating Algorithms: Nested Repetition Statements 159

5.6 Select...Case Multiple-Selection Statement 162

5.7 Do...Loop While and Do...Loop Until Repetition Statements 166

5.8 Using Exit to Terminate Repetition Statements 168

5.9 Using Continue in Repetition Statements 168

5.10 Logical Operators 169

5.11 Application: Dental Payment Calculator 172

5.12 Wrap-Up 175

6 Methods 191

6.1 Introduction 192

6.2 Classes and Methods 192

6.3 Subroutines: Methods That Do Not Return a Value 194

6.4 Functions: Methods That Return a Value 198

6.5 Implicit Argument Conversions 200

6.6 Option Strict and Data-Type Conversions 201

6.7 Passing Arguments: Pass-by-Value vs. Pass-by-Reference 203

6.8 Scope of Declarations 206

6.9 Case Study: Random-Number Generation 209

6.9.1 Scaling and Shifting of Random Numbers 211

6.9.2 Randomly Selecting Images 212

6.9.3 Rolling Dice Repeatedly and Displaying Statistics 214

6.10 Case Study: A Game of Chance 216

6.11 Method Overloading 221

6.12 Optional Parameters 223

6.13 Using the Debugger: Debugging Commands 225

6.14 Wrap-Up 227

7 Arrays 241

7.1 Introduction 242

7.2 Arrays 242

7.3 Declaring and Allocating Arrays 243

7.4 Initializing the Values in an Array 244

7.5 Summing the Elements of an Array 245

7.6 Using Arrays to Analyze Survey Results 246

7.7 Die-Rolling Program with an Array of Counters 249

7.8 Case Study: Flag Quiz 251

7.9 Passing an Array to a Method 255

7.10 For Each...Next Repetition Statement 258

7.11 Sorting an Array with Method Sort of Class Array 260

7.12 Searching an Array with Linear Search 262

7.13 Searching a Sorted Array with Array Method BinarySearch 264

7.14 Rectangular Arrays 265

7.15 Case Study: Maintaining Grades Using a Rectangular Array 267

7.16 Resizing an Array with the ReDim Statement 277

7.17 Wrap-Up 278

8 Files 289

8.1 Introduction 290

8.2 Data Hierarchy 290

8.3 Files and Streams 292

8.4 Test-Driving the Credit Inquiry Application 293

8.5 Writing Data Sequentially to a Text File 295

8.5.1 Class CreateAccounts 298

8.5.2 Opening the File 299

8.5.3 Managing Resources with the Using Statement 300

8.5.4 Adding an Account to the File 301

8.5.5 Closing the File and Terminating the Application 302

8.6 Building Menus with the Windows Forms Designer 303

8.7 Credit Inquiry Application: Reading Data Sequentially from a Text File 305

8.7.1 Implementing the Credit Inquiry Application 305

8.7.2 Selecting the File to Process 305

8.7.3 Specifying the Type of Records to Display 306

8.7.4 Displaying the Records 307

8.8 Wrap-Up 310

9 Object-Oriented Programming: Classes and Objects 315

9.1 Introduction 316

9.2 Classes, Objects, Methods and Instance Variables 316

9.3 Account Class 317

9.4 Value Types and Reference Types 323

9.5 Case Study: Card Shuffling and Dealing Simulation 324

9.6 Case Study: Time Class 330

9.7 Class Scope 337

9.8 Object Initializers 338

9.9 Auto-Implemented Properties 338

9.10 Using Me to Access the Current Object 339

9.11 Garbage Collection 339

9.12 Shared Class Members 340

9.13 Const and ReadOnly Fields 343

9.14 Shared Methods and Class Math 344

9.15 Object Browser 345

9.16 Wrap-Up 345

10 Object-Oriented Programming: Inheritance and Polymorphism 355

10.1 Introduction 356

10.2 Base Classes and Derived Classes 356

10.3 Business Case Study: Commission Employees Class Hierarchy 358

10.3.1 Creating Base Class CommissionEmployee 358

10.3.2 Creating Derived Class BasePlusCommissionEmployee 361

10.3.3 Testing Class BasePlusCommissionEmployee 364

10.4 Constructors in Derived Classes 366

10.5 Protected Members 366

10.6 Introduction to Polymorphism: Polymorphic Video Game 367

10.7 Abstract Classes and Methods 368

10.8 Case Study: Payroll System Class Hierarchy Using Polymorphism 369

10.8.1 Abstract Base Class Employee 370

10.8.2 Concrete Derived Class SalariedEmployee 372

10.8.3 Concrete Derived Class CommissionEmployee 373

10.8.4 Indirect Concrete Derived Class BasePlusCommissionEmployee 375

10.8.5 Demonstrating Polymorphic Processing 376

10.9 Online Case Study: Interfaces 378

10.10 Wrap-Up 379

11 Introduction to LINQ 386

11.1 Introduction 387

11.2 Querying an Array of Primitive-Type Elements Using LINQ 388

11.3 Querying an Array of Reference-Type Elements Using LINQ 391

11.4 Deferred Execution and Transforming Query Results 397

11.5 LINQ Resource Center 398

11.6 Wrap-Up 399

12 Databases and LINQ 403

12.1 Introduction 404

12.2 Relational Databases 405

12.3 A Books Database 406

12.4 LINQ to SQL 409

12.5 Querying a Database with LINQ 410

12.5.1 Creating LINQ to SQL Classes 411

12.5.2 Data Bindings Between Controls and the LINQ to SQL Classes 414

12.6 Dynamically Binding Query Results 418

12.6.1 Creating the Display Query Results GUI 418

12.6.2 Coding the Display Query Results Application 419

12.7 Retrieving Data from Multiple Tables 421

12.8 Creating a Master/Detail View Application 425

12.8.1 Creating the Master/Detail GUI 427

12.8.2 Coding the Master/Detail Application 428

12.9 Address Book Case Study 431

12.9.1 Creating the Address Book Application's GUI 432

12.9.2 Coding the Address Book Application 434

12.10 Tools and Web Resources 436

12.11 Wrap-Up 436

13 Web App Development with ASP.NET 443

13.1 Introduction 444

13.2 Web Basics 445

13.3 Multitier Application Architecture 446

13.4 Your First Web Application 448

13.4.1 Building the WebTime Application 450

13.4.2 Examining WebTime.aspx's Code-Behind File 459

13.5 Standard Web Controls: Designing a Form 460

13.6 Validation Controls 465

13.7 Session Tracking 471

13.7.1 Cookies 472

13.7.2 Session Tracking with HttpSessionState 473

13.7.3 Options.aspx: Selecting a Programming Language 475

13.7.4 Recommendations.aspx: Displaying Recommendations Based on Session Values 479

13.8 Case Study: Database-Driven ASP.NET Guestbook 481

13.8.1 Building a Web Form that Displays Data from a Database 483

13.8.2 Modifying the Code-Behind File for the Guestbook Application 487

13.9 Online Case Study: ASP.NET AJAX 488

13.10 Online Case Study: Password Protected Books Database Application 488

13.11 Wrap-Up 488

14 Windows Forms GUI: A Deeper Look 495

14.1 Introduction 496

14.2 Controls and Components 496

14.3 Creating Event Handlers 498

14.4 Control Properties and Layout 500

14.5 CroupBoxes and Panels 504

14.6 ToolTips 505

14.7 Mouse-Event Handling 507

14.8 Keyboard-Event Handling 510

14.9 Menus 513

14.10 MonthCalendar Control 522

14.11 DateTimePicker Control 523

14.12 LinkLabel Control 526

14.13 ListBox and CheckedListBox Controls 528

14.14 Multiple Document Interface (MDI) Windows 532

14.15 Visual Inheritance 540

14.16 Animation with the Timer Component 543

14.17 Wrap-Up 544

15 Graphics and Multimedia 551

15.1 Introduction 552

15.2 Drawing Classes and the Coordinate System 552

15.3 Graphics Contexts and Graphics Objects 553

15.4 Colors 554

15.5 Fonts 561

15.6 Drawing Lines, Rectangles and Ovals 565

15.7 Drawing Arcs 568

15.8 Drawing Polygons and Polylines 571

15.9 Additional Brush Types 572

15.10 Loading, Displaying and Scaling Images 577

15.11 Windows Media Player 579

15.12 Printing 580

15.13 Wrap-Up 586

A Operator Precedence Chart 595

B Primitive Types 597

C Number Systems 598

C.1 Introduction 599

C.2 Abbreviating Binary Numbers as Octal and Hexadecimal Numbers 602

C.3 Converting Octal and Hexadecimal Numbers to Binary Numbers 603

C.4 Converting from Binary, Octal or Hexadecimal to Decimal 603

C.5 Converting from Decimal to Binary, Octal or Hexadecimal 604

C.6 Negative Binary Numbers: Two's-Complement Notation 606

D ASCII Character Set 611

E Unicode® 612

E.1 Introduction 613

E.2 Unicode Transformation Formats 614

E.3 Characters and Glyphs 615

E.4 Advantages/Disadvantages of Unicode 616

E.5 Using Unicode 616

E.6 Character Ranges 618

Index 623

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)