Starting Out With Visual Basic 2008 Update
β Scribed by Gaddis, Tony;Irvine, Kip
- Publisher
- Addison Wesley
- Year
- 2009
- Tongue
- English
- Leaves
- 889
- Edition
- 4th Edition
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
For undergraduate students in business, MIS, CIS, IT and other computing departments at 2 and 4 year schools learning Visual Basic for the first time.In theStarting Out with Visual Basic 2008 Update, Tony Gaddis and Kip Irvine take a step-by-step approach, helping students understand the logic behind developing quality programs while introducing the Visual Basic 2008 language.The 2008 Update edition includes an extensive set of VideoNotes that supplement student reading. Numerous additional problems and an overview of LINQ are also included.
β¦ Table of Contents
Cover......Page 1
Contents......Page 6
Preface......Page 13
Chapter 1 Introduction to Programming and Visual Basic......Page 20
1.1 Computer Systems: Hardware and Software......Page 21
1.2 Programs and Programming Languages......Page 23
TUTORIAL 1-1: Running the Wage Calculator application......Page 27
TUTORIAL 1-2: Running an application that demonstrates event procedures......Page 28
1.3 More about Controls and Programming......Page 29
TUTORIAL 1-3: Running an application that demonstrates various controls......Page 30
1.4 The Programming Process......Page 36
TUTORIAL 1-4: Starting Visual Studio......Page 40
TUTORIAL 1-5: Opening the Design, Solution Explorer, Dynamic Help, and Properties windows in Visual Studio......Page 46
TUTORIAL 1-6: Getting familiar with Visual Studio......Page 51
Key Terms......Page 53
Review Questions and Exercises......Page 54
Programming Challenges......Page 58
2.1 Focus on Problem Solving: Building the Directions Application......Page 60
TUTORIAL 2-1: Beginning the Directions application......Page 63
TUTORIAL 2-2: Adding a Label control to the Directions application......Page 65
TUTORIAL 2-3: Setting the Labelβs TextAlign property......Page 67
TUTORIAL 2-4: Changing the Labelβs font size and style......Page 68
TUTORIAL 2-6: Inserting a PictureBox control......Page 69
TUTORIAL 2-7: Saving and running the application......Page 71
TUTORIAL 2-8: Closing a Visual Basic project......Page 73
TUTORIAL 2-9: Opening an existing project......Page 76
2.2 Focus on Problem Solving: Responding to Events......Page 78
TUTORIAL 2-11: Placing the lblDirections, btnDisplayDirections, and btnExit controls in the Directions application......Page 83
TUTORIAL 2-12: Writing event procedures for the Directions application......Page 87
TUTORIAL 2-13: Changing the text colors......Page 92
TUTORIAL 2-14: Setting the FormBorderStyle property and locking the controls in the Directions application......Page 94
TUTORIAL 2-15: Examining an application that displays messages......Page 95
2.4 The AutoSize, BorderStyle, and TextAlign Properties......Page 97
TUTORIAL 2-16: Writing Click event procedures for PictureBox controls......Page 99
2.6 Using Visual Studio Help......Page 101
TUTORIAL 2-17: Using Dynamic Help in Visual Studio......Page 104
TUTORIAL 2-18: Locating a compile error in Design mode......Page 108
Summary......Page 110
Review Questions and Exercises......Page 111
Programming Challenges......Page 114
3.1 Gathering Text Input......Page 118
TUTORIAL 3-1: Using a TextBox control......Page 119
TUTORIAL 3-2: Building the Date String application......Page 122
TUTORIAL 3-3: Using the Focus method......Page 126
TUTORIAL 3-4: Changing the tab order......Page 127
TUTORIAL 3-5: Setting access keys, accept, and cancel buttons......Page 130
3.2 Variables and Data Types......Page 132
TUTORIAL 3-6: Assigning text to a variable......Page 137
3.3 Performing Calculations......Page 142
3.4 Mixing Different Data Types......Page 150
TUTORIAL 3-7: Examining a Simple Calculator application......Page 159
3.5 Formatting Numbers and Dates......Page 162
TUTORIAL 3-8: Examining the Format Demo application......Page 165
3.6 Exception Handling......Page 167
TUTORIAL 3-9: Salary Calculation application with exception handling......Page 172
3.7 Group Boxes and the Load Event Procedure......Page 174
3.8 Focus on Program Design and Problem Solving: Building the Room Charge Calculator Application......Page 177
TUTORIAL 3-10: Beginning the Room Charge Calculator application......Page 181
3.9 More about Debugging: Locating Logic Errors......Page 187
TUTORIAL 3-12: Single-stepping through an applicationβs code at runtime......Page 188
Summary......Page 194
Key Terms......Page 197
Review Questions and Exercises......Page 198
Programming Challenges......Page 204
4.1 The Decision Structure......Page 212
4.2 The If...Then Statement......Page 214
TUTORIAL 4-1: Examining an application that uses the If...Then statement......Page 217
4.3 The If...Then...Else Statement......Page 220
TUTORIAL 4-2: Completing an application that uses the If...Then...Else statement......Page 221
4.4 The If...Then...ElseIf Statement......Page 223
TUTORIAL 4-3: Completing an application that uses the If...Then...ElseIf statement......Page 224
TUTORIAL 4-4: Comparing an If...Then...ElseIf statement to a series of If...Then statements......Page 227
TUTORIAL 4-5: Completing an application with a nested If statement......Page 231
4.6 Logical Operators......Page 233
4.7 Comparing, Testing, and Working with Strings......Page 239
TUTORIAL 4-6: Examining an application that performs string comparisons......Page 242
TUTORIAL 4-7: Completing a string searching application......Page 247
4.8 Focus on GUI Design: The Message Box......Page 250
4.9 The Select Case Statement......Page 254
TUTORIAL 4-8: Examining Crazy Alβs Sales Commission Calculator application......Page 258
4.10 Introduction to Input Validation......Page 261
4.11 Focus on GUI Design: Radio Buttons and Check Boxes......Page 263
TUTORIAL 4-9: Completing an application with radio buttons and check boxes......Page 265
4.12 Class-Level Variables......Page 267
4.13 Focus on Program Design and Problem Solving: Building the Health Club Membership Fee Calculator Application......Page 268
TUTORIAL 4-10: Building the Health Club Membership Fee Calculator application......Page 273
Summary......Page 278
Key Terms......Page 279
Review Questions and Exercises......Page 280
Programming Challenges......Page 285
5.1 Input Boxes......Page 294
5.2 List Boxes......Page 297
TUTORIAL 5-1: Creating list boxes......Page 302
5.3 Introduction to Loops: The Do While Loop......Page 306
TUTORIAL 5-2: Completing an application that uses the Do While loop......Page 307
TUTORIAL 5-3: Modifying the Do While Demo application to use a posttest loop......Page 311
TUTORIAL 5-4: Using a loop to keep a running total......Page 312
TUTORIAL 5-5: Examining an application that uses a user-controlled loop......Page 316
5.4 The Do Until and For...Next Loops......Page 318
TUTORIAL 5-6: Examining an application that uses the Do Until loop......Page 319
TUTORIAL 5-7: Examining an application that uses the For...Next loop......Page 321
TUTORIAL 5-8: Completing an application that uses the For...Next loop......Page 323
5.5 Nested Loops......Page 327
5.6 Multicolumn List Boxes, Checked List Boxes, and Combo Boxes......Page 328
TUTORIAL 5-9: Creating combo boxes......Page 332
5.7 Input Validation......Page 334
TUTORIAL 5-10: Completing an application that demonstrates input validation......Page 335
TUTORIAL 5-11: An example of inconvenient data input correction......Page 339
TUTORIAL 5-12: Modifying the Validation Demo project to use the SelectAll method......Page 340
5.8 ToolTips......Page 342
TUTORIAL 5-13: Adding ToolTips to an application......Page 343
5.9 Focus on Program Design and Problem Solving: Building the Vehicle Loan Calculator Application......Page 344
TUTORIAL 5-14: Building the Vehicle Loan Calculator application......Page 353
Summary......Page 358
Review Questions and Exercises......Page 359
Programming Challenges......Page 366
Chapter 6 Procedures and Functions......Page 374
TUTORIAL 6-1: Examining an application with a procedure......Page 375
TUTORIAL 6-2: Creating a procedure......Page 378
6.2 Passing Arguments to Procedures......Page 386
TUTORIAL 6-3: Examining an application that demonstrates passing an argument to a procedure......Page 387
TUTORIAL 6-4: Working with ByVal and ByRef......Page 390
6.3 Functions......Page 393
TUTORIAL 6-5: Examining the GPA Calculator application......Page 395
6.4 More about Debugging: Stepping Into, Over, and Out of Procedures and Functions......Page 401
TUTORIAL 6-6: Practicing the Step Into, Step Over, and Step Out commands......Page 402
6.5 Focus on Program Design and Problem Solving: Building the Bagel and Coffee Price Calculator Application......Page 404
TUTORIAL 6-7: Building the Bagel House application......Page 414
Summary......Page 418
Review Questions and Exercises......Page 419
Programming Challenges......Page 423
7.1 Multiple Forms......Page 430
TUTORIAL 7-1: Completing an application that displays modal and modeless forms......Page 439
TUTORIAL 7-2: Completing an application with multiple forms......Page 445
7.2 Standard Modules......Page 451
TUTORIAL 7-3: Examining an application that uses a standard module......Page 454
7.3 Menus......Page 458
TUTORIAL 7-4: Building a menu......Page 466
7.4 Focus on Problem Solving: Building the High Adventure Travel Agency Price Quote Application......Page 471
TUTORIAL 7-5: Building the High Adventure Travel Agency Price Quote application......Page 480
Summary......Page 492
Review Questions and Exercises......Page 493
Programming Challenges......Page 498
8.1 Arrays......Page 508
TUTORIAL 8-1: Completing an application that uses an array......Page 517
8.2 More about Array Processing......Page 520
TUTORIAL 8-2: Examining an application that uses parallel arrays......Page 524
8.3 Procedures and Functions That Work with Arrays......Page 531
TUTORIAL 8-3: Examining an application with functions and with arrays......Page 533
8.4 Multidimensional Arrays......Page 537
TUTORIAL 8-4: Completing an application that sums the rows of a two-dimensional array......Page 539
8.5 Focus on GUI Design: The Enabled Property, Timer Control, and Splash Screens......Page 544
TUTORIAL 8-5: The Timer Demo......Page 546
TUTORIAL 8-6: Creating a splash screen......Page 548
8.6 Focus on GUI Design: Anchoring and Docking Controls......Page 550
8.7 Random Numbers......Page 553
TUTORIAL 8-7: Examining the CatchMe application......Page 554
8.8 Focus on Problem Solving: Building the Demetris Leadership Center Application......Page 557
TUTORIAL 8-8: Building the Demetris Leadership Center Sales Reporting application......Page 560
Summary......Page 565
Key Terms......Page 566
Review Questions and Exercises......Page 567
Programming Challenges......Page 572
9.1 Using Files......Page 580
TUTORIAL 9-1: Completing an application that writes data to a file......Page 585
TUTORIAL 9-2: Completing an application that reads a file......Page 590
TUTORIAL 9-3: Examining an application that detects the end of a file......Page 595
9.2 The OpenFileDialog, SaveFileDialog, FontDialog, and ColorDialog Controls......Page 599
TUTORIAL 9-4: Creating a simple text editor application......Page 603
9.3 The PrintDocument Control......Page 612
TUTORIAL 9-5: Adding printing capabilities to the Simple Text Editor application......Page 613
9.4 Structures......Page 618
TUTORIAL 9-6: Examining an application with a structure......Page 621
9.5 Focus on Problem Solving: Modifying the Demetris Leadership Center Application......Page 623
TUTORIAL 9-7: Modifying the Demetris Leadership Center Sales Reporting application......Page 624
Summary......Page 632
Review Questions and Exercises......Page 633
Programming Challenges......Page 639
10.1 Database Management Systems......Page 644
10.2 Database Concepts......Page 645
10.3 DataGridView Control......Page 649
TUTORIAL 10-1: Showing a database table in a DataGridView control......Page 650
TUTORIAL 10-2: Sorting and updating the SalesStaff table......Page 657
10.4 Data-Bound Controls......Page 659
TUTORIAL 10-3: Binding a DataGridView to the SalesStaff table......Page 663
TUTORIAL 10-4: Binding individual controls to the SalesStaff table......Page 664
TUTORIAL 10-5: Displaying the Members table in a list box......Page 668
TUTORIAL 10-6: Inserting Karate member payments......Page 671
TUTORIAL 10-7: Adding a total to the Karate student payments......Page 674
10.5 Structured Query Language (SQL)......Page 676
TUTORIAL 10-8: Filtering rows in the SalesStaff table......Page 684
10.6 Focus on Problem Solving: Karate School Management Application......Page 686
TUTORIAL 10-10: Adding the Membership / List all function to the Karate School Manager......Page 690
TUTORIAL 10-11: Adding the Membership / Add new member function to the Karate School Manager......Page 693
TUTORIAL 10-12: Adding the Membership / Find member function to the Karate School Manager......Page 695
TUTORIAL 10-13: Adding the Payments / All members function to the Karate School Manager......Page 697
10.7 Introduction to LINQ (optional)......Page 703
Summary......Page 705
Key Terms......Page 706
Review Questions and Exercises......Page 707
Programming Challenges......Page 709
11.1 Programming for the Web......Page 714
11.2 Creating ASP.NET Applications......Page 718
TUTORIAL 11-1: Creating the Click application......Page 722
11.3 Web Server Controls......Page 726
TUTORIAL 11-2: Student Picnic application......Page 728
11.4 Designing Web Forms......Page 735
TUTORIAL 11-3: Signing up for a Kayak Tour......Page 738
11.5 Applications with Multiple Web Pages......Page 741
TUTORIAL 11-4: Adding a description form to the Kayak Tour application......Page 743
11.6 Using Databases......Page 745
TUTORIAL 11-5: Displaying the Karate Members table in a GridView......Page 748
TUTORIAL 11-6: Updating the Karate Members table......Page 753
Summary......Page 760
Key Terms......Page 761
Review Questions and Exercises......Page 762
Programming Challenges......Page 765
12.1 Classes and Objects......Page 768
12.2 Creating a Class......Page 771
TUTORIAL 12-1: Creating the Student Data application......Page 784
12.3 Collections......Page 789
12.4 Focus on Problem Solving: Creating the Student Collection Application......Page 795
TUTORIAL 12-2: Completing the Student Collection application......Page 796
TUTORIAL 12-3: Using the Object Browser......Page 801
12.6 Focus on GUI Design: Scroll Bars and Track Bars......Page 803
TUTORIAL 12-4: Working with scrollable controls......Page 805
12.7 Introduction to Inheritance......Page 807
TUTORIAL 12-5: Completing an application that uses inheritance......Page 814
Summary......Page 821
Review Questions and Exercises......Page 823
Programming Challenges......Page 831
Appendix A: User Interface Design Guidelines......Page 836
Appendix B: Converting Mathematical Expressions to Programming Statements......Page 839
Appendix C: Answers to Checkpoints......Page 841
B......Page 859
C......Page 860
E......Page 861
H......Page 862
I......Page 863
N......Page 864
P......Page 865
R......Page 866
S......Page 867
T......Page 868
X......Page 869
A......Page 870
B......Page 871
C......Page 872
D......Page 874
F......Page 876
I......Page 878
L......Page 880
M......Page 881
O......Page 882
P......Page 883
R......Page 884
S......Page 885
T......Page 887
V......Page 888
Y......Page 889
π SIMILAR VOLUMES
<P style="MARGIN: 0px">In <I> <B>Starting Out with Visual Basic 2012</B> </I> <I>, </I>Tony Gaddis and Kip Irvine take a step-by-step approach, helping readers understand the logic behind developing quality programs while introducing the Visual Basic language. Fully-updated throughout, the 2012 edit
Starting Out With Visual Basic, 7/e
<p> <i>For courses in Visual Basic Programming</i> </p> <p> <br></p> <p> <b>Visual Basic fundamentalsΒ </b> </p> <p>Rich in concise, practical examples,Β <b> <i>StartingΒ Out With Visual Basic</i> </b>Β covers the tools and features of Visual Basic, and when and how to use them. The authors introduce th
<b>Note:</b>You are purchasing aBook/CD; MyProgrammingLab does not come packaged with this content. If you would like to purchase<i>both</i>the physical text and MyProgrammingLab search for ISBN-10: 0133441873 / ISBN-13: 9780133441871. That package includes ISBN-10: 0133128083 / ISBN-13: 97801331280