چه کسانی این کتاب را می‌خوانند

دانشجوعلاقه‌مند یادگیری
کتابخوان حرفه‌ایلذت مطالعه
نویسندهالهام‌گیری

Programming with Microsoft Visual Basic 2010, 5th Edition

Zak, Diane

قیمت نهایی

۴۹٬۰۰۰ تومان

نسخه اصلی و اورجینال

بلافاصله پس از خرید، فایل کتاب روی دستگاه شما آمادهٔ دانلود است.

تحویل فوری
پرداخت امن
ضمانت فایل
پشتیبانی

مشخصات کتاب

نویسنده
Zak, Diane
سال انتشار
۲۰۱۲
فرمت
PDF
زبان
انگلیسی
حجم فایل
۲۶٫۷ مگابایت

دربارهٔ کتاب

PROGRAMMING WITH MICROSOFT VISUAL BASIC 2010, FIFTH EDITION by the best-selling author, Diane Zak, is designed for a first course in programming. Using the most recent version of the software, Visual Basic 2010, this book teaches individuals how to use Visual Basic applications as they would in a real world setting. Students with no previous programming experience learn how to plan and create their own interactive Windows applications. GUI design skills and object-oriented programming concepts are emphasized throughout the book. Cover......Page 1 Title Page......Page 5 Copyright......Page 6 Brief Contents......Page 7 Contents......Page 9 Preface......Page 20 Read This Before You Begin......Page 25 OVERVIEW: An Introduction to Programming......Page 27 Do You Have What It Takes to Be a Programmer?......Page 28 Employment Opportunities......Page 29 A Visual Basic 2010 Demonstration......Page 30 Using the Chapters Effectively......Page 32 Summary......Page 33 Key Terms......Page 34 CHAPTER 1 An Introduction to Visual Basic 2010......Page 35 LESSON A: The Splash Screen Application......Page 37 Managing the Windows in the IDE......Page 41 The Windows Form Designer Window......Page 42 The Solution Explorer Window......Page 43 The Properties Window......Page 44 Properties of a Windows Form......Page 45 Setting and Restoring a Property’s Value......Page 48 Closing the Current Solution......Page 49 Lesson A: Summary......Page 50 Lesson A: Key Terms......Page 52 Lesson A: Review Questions......Page 53 Lesson A: Exercises......Page 54 LESSON B: The Toolbox Window......Page 57 The Label Tool......Page 58 Using the Format Menu......Page 61 The PictureBox Tool......Page 62 Starting and Ending an Application......Page 64 The Code Editor Window......Page 66 Lesson B: Summary......Page 70 Lesson B: Key Terms......Page 71 Lesson B: Review Questions......Page 72 Lesson B: Exercises......Page 73 LESSON C: Using the Timer Tool......Page 76 Setting the FormBorderStyle Property......Page 78 The MinimizeBox, MaximizeBox, and ControlBox Properties......Page 79 Printing the Application’s Code and Interface......Page 80 Lesson C: Summary......Page 81 Lesson C: Review Questions......Page 82 Lesson C: Exercises......Page 83 CHAPTER 2 Designing Applications......Page 86 Planning an Object-Oriented Application......Page 89 Lesson A: Summary......Page 97 Lesson A: Review Questions......Page 98 Lesson A: Exercises......Page 99 LESSON B: Building the User Interface......Page 101 Including Graphics in the User Interface......Page 102 Adding Color to the Interface......Page 103 The BorderStyle and AutoSize Properties......Page 104 Locking the Controls on a Form......Page 106 Assigning Access Keys......Page 107 Controlling the Tab Order......Page 108 Lesson B: Summary......Page 112 Lesson B: Review Questions......Page 113 Lesson B: Exercises......Page 114 LESSON C: Coding the Application......Page 116 Using Pseudocode to Plan a Procedure......Page 117 Using a Flowchart to Plan a Procedure......Page 118 Coding the btnClear Control’s Click Event Procedure......Page 119 Writing Arithmetic Expressions......Page 124 Coding the Calculate Order Button......Page 126 Testing and Debugging the Application......Page 131 Assembling the Documentation......Page 134 Lesson C: Summary......Page 135 Lesson C: Key Terms......Page 136 Lesson C: Review Questions......Page 137 Lesson C: Exercises......Page 138 CHAPTER 3 Using Variables and Constants......Page 144 LESSON A: Using Variables to Store Information......Page 147 Selecting a Data Type for a Variable......Page 148 Selecting a Name for a Variable......Page 149 Declaring a Variable......Page 150 Assigning Data to an Existing Variable......Page 151 The Scope and Lifetime of a Variable......Page 157 Static Variables......Page 162 Named Constants......Page 164 Option Explicit, Option Infer, and Option Strict......Page 167 Lesson A: Summary......Page 170 Lesson A: Key Terms......Page 172 Lesson A: Review Questions......Page 173 Lesson A: Exercises......Page 174 LESSON B: Modifying the Playtime Cellular Application......Page 178 Modifying the Calculate Order Button’s Code......Page 179 Concatenating Strings......Page 186 The InputBox Function......Page 187 The ControlChars.NewLine Constant......Page 191 Designating a Default Button......Page 192 Using the ToString Method to Format Numbers......Page 193 Lesson B: Key Terms......Page 197 Lesson B: Review Questions......Page 198 Lesson B: Exercises......Page 200 LESSON C: Modifying the Load and Click Event Procedures......Page 204 Coding the TextChanged Event Procedure......Page 207 Lesson C: Summary......Page 211 Lesson C: Review Questions......Page 212 Lesson C: Exercises......Page 213 CHAPTER 4 The Selection Structure......Page 216 LESSON A: Making Decisions in a Program......Page 218 Coding Single-Alternative and Dual-Alternative Selection Structures......Page 224 Comparison Operators......Page 225 Logical Operators......Page 233 Comparing Strings Containing Letters......Page 239 Converting a String to Uppercase or Lowercase......Page 241 Comparing Boolean Values......Page 245 Summary of Operators......Page 248 Lesson A: Key Terms......Page 249 Lesson A: Review Questions......Page 251 Lesson A: Exercises......Page 253 Adding a Group Box to the Form......Page 257 Coding the Monthly Payment Calculator Application......Page 259 Using the Financial.Pmt Method......Page 262 The MessageBox.Show Method......Page 264 Lesson B: Summary......Page 269 Lesson B: Review Questions......Page 270 Lesson B: Exercises......Page 271 LESSON C: Coding the KeyPress Event Procedures......Page 274 Coding the Enter Event Procedures......Page 277 Lesson C: Key Terms......Page 280 Lesson C: Review Questions......Page 281 Lesson C: Exercises......Page 282 CHAPTER 5 More on the Selection Structure......Page 287 LESSON A: Nested Selection Structures......Page 290 The Voter Eligibility Application......Page 291 Logic Errors in Selection Structures......Page 296 Multiple-Alternative Selection Structures......Page 301 The Select Case Statement......Page 304 Lesson A: Summary......Page 308 Lesson A: Review Questions......Page 309 Lesson A: Exercises......Page 312 Adding a Radio Button to the Form......Page 316 Adding a Check Box to the Interface......Page 318 Coding the Math Practice Application......Page 320 Creating an Independent Sub Procedure......Page 322 Coding the Grade Radio Buttons’ Click Event Procedures......Page 327 Coding the Operation Radio Buttons’ Click Event Procedures......Page 329 Coding the Form’s Load Event Procedure......Page 330 Lesson B: Key Terms......Page 332 Lesson B: Review Questions......Page 333 Lesson B: Exercises......Page 335 LESSON C: Coding the Check Answer Button’s Click Event Procedure......Page 338 Coding the Display Summary Check Box’s Click Event Procedure......Page 341 Lesson C: Key Term......Page 345 Lesson C: Exercises......Page 346 CHAPTER 6 The Repetition Structure......Page 353 LESSON A: Repeating Program Instructions......Page 355 The Do . . . Loop Statement......Page 359 Counters and Accumulators......Page 365 Arithmetic Assignment Operators......Page 373 The For . . . Next Statement......Page 374 Lesson A: Summary......Page 381 Lesson A: Key Terms......Page 382 Lesson A: Review Questions......Page 383 Lesson A: Exercises......Page 387 LESSON B: Nested Repetition Structures......Page 391 The Refresh and Sleep Methods......Page 392 Revisiting the Monthly Payment Calculator Application......Page 393 Lesson B: Review Questions......Page 397 Lesson B: Exercises......Page 398 LESSON C: Creating the Shoppers Haven Application......Page 400 Including a List Box in an Interface......Page 401 Coding the Shoppers Haven Application......Page 403 Lesson C: Summary......Page 410 Lesson C: Review Questions......Page 411 Lesson C: Exercises......Page 412 CHAPTER 7 Sub and Function Procedures......Page 420 LESSON A: More About Sub Procedures......Page 422 Passing Variables......Page 423 Function Procedures......Page 431 Lesson A: Summary......Page 435 Lesson A: Review Questions......Page 436 Lesson A: Exercises......Page 440 LESSON B: Including a Combo Box in an Interface......Page 445 Lesson B: Summary......Page 449 Lesson B: Review Questions......Page 450 Lesson B: Exercises......Page 451 LESSON C: Creating the Harvey Industries Application......Page 453 Coding the FormClosing Event Procedure......Page 454 Coding the btnCalc Control’s Click Event Procedure......Page 456 Completing the btnCalc Control’s Click Event Procedure......Page 462 Lesson C: Key Terms......Page 468 Lesson C: Exercises......Page 469 CHAPTER 8 String Manipulation......Page 472 Determining the Number of Characters in a String......Page 475 Removing Characters from a String......Page 476 Inserting Characters in a String......Page 479 Searching a String......Page 483 Accessing the Characters in a String......Page 486 Using Pattern-Matching to Compare Strings......Page 489 Lesson A: Summary......Page 493 Lesson A: Review Questions......Page 494 Lesson A: Exercises......Page 497 LESSON B: Adding a Menu to a Form......Page 502 Assigning Shortcut Keys to Menu Items......Page 505 Coding the Exit Menu Item......Page 506 Lesson B: Review......Page 507 Lesson B: Exercises......Page 508 LESSON C: Completing the Hangman Game Application......Page 509 Coding the mnuFileNew Object’s Click Event Procedure......Page 510 Lesson C: Summary......Page 521 Lesson C: Review Questions......Page 522 Lesson C: Exercises......Page 523 CHAPTER 9 Arrays......Page 528 LESSON A: Arrays......Page 530 One-Dimensional Arrays......Page 531 The For Each . . . Next Statement......Page 537 Calculating the Total and Average Values......Page 538 Finding the Highest Value......Page 541 Arrays and Collections......Page 544 Accumulator and Counter Arrays......Page 548 Sorting a One-Dimensional Array......Page 551 Lesson A: Summary......Page 555 Lesson A: Review Questions......Page 556 Lesson A: Exercises......Page 560 LESSON B: Parallel One-Dimensional Arrays......Page 565 Lesson B: Exercises......Page 569 LESSON C: Two-Dimensional Arrays......Page 572 Traversing a Two-Dimensional Array......Page 575 Totaling the Values Stored in a Two-Dimensional Array......Page 576 Searching a Two-Dimensional Array......Page 578 Lesson C: Review Questions......Page 582 Lesson C: Exercises......Page 584 CHAPTER 10 Structures and Sequential Access Files......Page 588 LESSON A: Structures......Page 591 Declaring and Using a Structure Variable......Page 592 Lesson A: Summary......Page 601 Lesson A: Review Questions......Page 602 Lesson A: Exercises......Page 603 Writing Data to a Sequential Access File......Page 607 Closing an Output Sequential Access File......Page 610 Reading Data from a Sequential Access File......Page 611 Closing an Input Sequential Access File......Page 615 Lesson B: Key Terms......Page 618 Lesson B: Review Questions......Page 619 Lesson B: Exercises......Page 620 LESSON C: Coding the CD Collection Application......Page 624 Coding the Form’s Load Event Procedure......Page 625 Coding the btnAdd Control’s Click Event Procedure......Page 627 Aligning Columns of Information......Page 628 Coding the btnRemove Control’s Click Event Procedure......Page 630 Coding the Form’s FormClosing Event Procedure......Page 632 Lesson C: Summary......Page 635 Lesson C: Review Questions......Page 636 Lesson C: Exercises......Page 637 CHAPTER 11 Classes and Objects......Page 641 LESSON A: Object-Oriented Programming Terminology......Page 643 Creating a Class......Page 644 Example 1—A Class that Contains Public Variables Only......Page 646 Example 2—A Class that Contains Private Variables, Public Properties, and Methods......Page 650 Example 3—A Class that Contains a Parameterized Constructor......Page 662 Example 4—Reusing a Class......Page 666 Lesson A: Summary......Page 670 Lesson A: Key Terms......Page 671 Lesson A: Review Questions......Page 672 Lesson A: Exercises......Page 674 LESSON B: Example 5—A Class that Contains a ReadOnly Property......Page 680 Example 6—A Class that Contains Auto-Implemented Properties......Page 684 Example 7—A Class that Contains Overloaded Methods......Page 687 Lesson B: Summary......Page 693 Lesson B: Review Questions......Page 694 Lesson B: Exercises......Page 695 LESSON C: Example 8—Using a Base Class and a Derived Class......Page 698 Lesson C: Key Terms......Page 704 Lesson C: Exercises......Page 705 CHAPTER 12 Web Applications......Page 707 LESSON A: Web Applications......Page 710 Creating a Web Application......Page 713 Adding the Default.aspx Web Page to the Application......Page 715 Customizing a Web Page......Page 716 Adding Another Web Page to the Application......Page 719 Adding a Link Button Control to a Web Page......Page 720 Starting a Web Application......Page 722 Adding an Image to a Web Page......Page 724 Closing and Opening an Existing Web Application......Page 726 Repositioning a Control on a Web Page......Page 727 Lesson A: Summary......Page 728 Lesson A: Review Questions......Page 730 Lesson A: Exercises......Page 731 LESSON B: Dynamic Web Pages......Page 734 Coding the Submit Button’s Click Event Procedure......Page 738 Validating User Input......Page 740 Lesson B: Summary......Page 742 Lesson B: Review Questions......Page 743 Lesson B: Exercises......Page 744 LESSON C: Creating the DJ Tom Application......Page 747 Creating a Columnar Layout......Page 748 Using an ASP Table......Page 750 Adding Items to a DropDownList Control......Page 755 Coding DJ Tom’s Web Page......Page 756 Lesson C: Key Terms......Page 760 Lesson C: Review Questions......Page 761 Lesson C: Exercises......Page 762 CHAPTER 13 Working with Access Databases and LINQ......Page 766 LESSON A: Database Terminology......Page 769 Connecting an Application to a Microsoft Access Database......Page 771 Binding the Objects in a Dataset......Page 775 Visual Basic Code......Page 782 The Copy to Output Directory Property......Page 786 Binding to an Existing Control......Page 788 Lesson A: Summary......Page 793 Lesson A: Key Terms......Page 794 Lesson A: Review Questions......Page 795 Lesson A: Exercises......Page 797 LESSON B: Creating a Query......Page 799 Personalizing a BindingNavigator Control.......Page 803 Using the LINQ Aggregate Operators......Page 805 Lesson B: Key Terms......Page 808 Lesson B: Review Questions......Page 809 Lesson B: Exercises......Page 811 LESSON C: Completing the Paradise Bookstore Application......Page 813 Coding the Paradise Bookstore Application......Page 815 Lesson C: Review Questions......Page 818 Lesson C: Exercises......Page 819 CHAPTER 14 Access Databases and SQL......Page 822 LESSON A: Adding Records to a Dataset......Page 825 Sorting the Records in a Dataset......Page 830 Deleting Records from a Dataset......Page 831 Lesson A: Key Terms......Page 836 Lesson A: Review Questions......Page 837 Lesson A: Exercises......Page 838 The SELECT Statement......Page 841 Creating a Query......Page 843 Lesson B: Key Terms......Page 849 Lesson B: Review Questions......Page 850 Lesson B: Exercises......Page 852 LESSON C: Parameter Queries......Page 854 Saving a Query......Page 857 Invoking a Query from Code......Page 859 The INSERT and DELETE Statements......Page 862 Lesson C: Key Terms......Page 870 Lesson C: Exercises......Page 871 APPENDIX A: Locating Syntax and Logic Errors......Page 874 APPENDIX B: GUI Design Guidelines......Page 884 APPENDIX C: Visual Basic Conversion Functions......Page 889 Index......Page 890 Preface Read this before you begin An introduction to programming An introduction to Visual Basic 2010 Designing applications Using variables and constants The selection structure More on the selection structure The repetition structure Sub and function procedures String manipulation Arrays Structures and sequential access files Classes and objects Web applications Working with access databases and LINQ Access databases and SQL Appendix A: Locating syntax and logic errors Appendix B: GUI design guidelines Appendix C: Visual Basic conversion functions Appendix D: Applications with multiple forms.

قیمت نهایی

۴۹٬۰۰۰ تومان