Example: bankruptcy

STARTING OUT WITH Visual Basic® - Pearson

STARTING OUT WITHV isual Basic Eighth 104/01/19 7:22 204/01/19 7:22 PMSTARTING OUT WITHV isual Basic Eighth EditionTony GaddisHaywood Community CollegeKip IrvineFlorida International 304/01/19 7:22 PMSenior Vice President Courseware Portfolio Management: Marcia HortonVice President, Portfolio Management: Engineering, Computer Science & Global Editions: Julian PartridgeExecutive Portfolio Manager: Matt GoldsteinPortfolio Management Assistant: Meghan JacobyProduct Marketing Manager: Yvonne VannattaField Marketing Manager: Demetrius HallMarketing Assistant: Jon BryantManaging Producer: Scott DisannoContent Producer: Amanda BrandsManufacturing Buyer, Higher Ed, Lake Side Communications, Inc.

STARTING OUT WITH Visual Basic® Eighth Edition A01_GADD4658_08_SE_FM.indd 1 04/01/19 7:22 PM

Tags:

  Edition, Height, Eighth edition

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of STARTING OUT WITH Visual Basic® - Pearson

1 STARTING OUT WITHV isual Basic Eighth 104/01/19 7:22 204/01/19 7:22 PMSTARTING OUT WITHV isual Basic Eighth EditionTony GaddisHaywood Community CollegeKip IrvineFlorida International 304/01/19 7:22 PMSenior Vice President Courseware Portfolio Management: Marcia HortonVice President, Portfolio Management: Engineering, Computer Science & Global Editions: Julian PartridgeExecutive Portfolio Manager: Matt GoldsteinPortfolio Management Assistant: Meghan JacobyProduct Marketing Manager: Yvonne VannattaField Marketing Manager: Demetrius HallMarketing Assistant: Jon BryantManaging Producer: Scott DisannoContent Producer: Amanda BrandsManufacturing Buyer, Higher Ed, Lake Side Communications, Inc.

2 (LSC): Maura Zaldivar-GarciaCover Designer: Pearson CSCM anager, Rights and Permissions: Ben FerriniCover Image: matin/shutterstockInventory Manager: Bruce BoundyFull-Service Project Manager: Abhishan Sharma, Integra Software Services Pvt. : Integra Software Services Pvt. : Lake Side Communications, and acknowledgments borrowed from other sources and reproduced, with permission, in this textbook appear on the Credits page at the end of the 2020, 2017, 2014, 2011 Pearson Education, Inc., Hoboken, NJ 07030. All rights reserved. Printed in the United States of America. This publication is protected by Copyright, and permission should be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise.

3 For information regarding permissions, request forms and the appropriate contacts within the Pearson Education Global Rights & Permissions department, please visit of the designations by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed in initial caps or all programs and applications presented in this book have been included for their instructional value. They have been tested with care, but are not guaranteed for any particular purpose. The publisher does not offer any warranties or representations, nor does it accept any liabilities with respect to the programs or and/or its respective suppliers make no representations about the suitability of the information contained in the documents and related graphics published as part of the services for any purpose.

4 All such documents and related graphics are provided as is without warranty of any kind. microsoft and/or its respective suppliers hereby disclaim all warranties and conditions with regard to this information, including all warranties and conditions of merchantability. whether express, implied or statutory, fitness for a particular. purpose, title and non-infringement. in no event shall microsoft and/or its respective suppliers be liable for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract. negligence or other tortious action, arising out of or in connection with the use or performance of information available from the documents and related graphics contained herein could include technical inaccuracies or typographical errors changes are periodically added to the information herein.

5 Microsoft and/or its respective suppliers may make improvements and/or changes in the product(s) and/or the program(s) described herein at any time partial screen shots may be viewed in full within the software version windows , and microsoft office are registered trademarks of the microsoft corporation in the and other countries. this book is not sponsored or endorsed by or affiliated with the microsoft of Congress Cataloging-in-Publication DataNames: Gaddis, Tony, author. | Irvine, Kip R., : STARTING out with Visual basic / Tony Gaddis, Haywood Community College, Kip Irvine, Florida International : Eighth edition .

6 | Hoboken : Pearson , [2020] | Includes bibliographical references and : LCCN 2018048219 | ISBN 9780135204658 | ISBN 0135204658 Subjects: LCSH: Visual Basic (Computer program language)Classification: LCC G33 2019 | DDC dc23 LC record available at 9 8 7 6 5 4 3 2 1 ISBN 10: 0-13-520465-8 ISBN 13: 404/01/19 7:22 PMContents in Brief Preface xviiChapter 1 Introduction to Programming and Visual Basic 1 Chapter 2 Creating Applications with Visual Basic 41 Chapter 3 Variables and Calculations 125 Chapter 4 Making Decisions 233 Chapter 5 Lists and Loops 309 Chapter 6 Procedures and Functions 379 Chapter 7 Multiple Forms, Modules, and Menus 429 Chapter 8 Arrays and More 499 Chapter 9 Files, Printing, and Structure 573 Chapter 10 Working with Databases 631 Chapter 11 Developing Web Applications 711 Chapter 12 Classes, Collections.

7 And Inheritance 767 Appendix A Advanced User Interface Controls and Techniques 829 Appendix B Windows Presentation Foundation (WPF) 843 Appendix C Converting Mathematical Expressions to Programming Statements 851 Appendix D Answers to Checkpoint 853 Appendix E Glossary 871 Appendix F Function and Method Reference F-1 Appendix G Binary and Random-Access Files G-1 Index 883 Credits 504/01/19 7:22 604/01/19 7:22 PMContents Preface xviiChapter 1 Introduction to Programming and Visual Basic Computer Systems: Hardware and Software .. Programs and Programming Languages.

8 4 TUTORIAL 1-1: Running the Wage Calculator application ..8 TUTORIAL 1-2: Running an application that demonstrates event handlers .. More about Controls and Programming ..11 TUTORIAL 1-3: Running an application that demonstrates various controls .. The Programming Process .. Visual Studio ..20 TUTORIAL 1-4: STARTING Visual Studio and setting up the environment ..20 TUTORIAL 1-5: STARTING a new Visual Basic project ..24 TUTORIAL 1-6: Becoming familiar with Visual Studio ..33 Summary 35 Key Terms 36 Review Questions and Exercises 36 Programming Challenges 40 Chapter 2 Creating Applications with Visual Basic Getting Started with Forms and Controls.

9 Creating the GUI for Your First Visual Basic Application: The Hello World Application ..52 TUTORIAL 2-1: Creating the GUI for the Hello World application .. Writing the Code for the Hello World Application ..59 TUTORIAL 2-2: Writing code for the Hello World application .. More About Label Controls .. Creating Multiple Event Handlers ..76 TUTORIAL 2-3: Creating the Language Translator application .. Making Sense of IntelliSense .. PictureBox Controls ..81 TUTORIAL 2-4: Creating the Guess the President application ..84 TUTORIAL 2-5: Writing Click event handlers for PictureBox controls.

10 The Visible Property ..90 TUTORIAL 2-6: Creating the Card Flip application .. Writing the Code to Close an Application s Form ..94 TUTORIAL 2-7: Adding an Exit button to the Guess the President application .. Comments, Blank Lines, and Indentation .. Dealing with Errors .. Displaying User Messages at Runtime ..102 TUTORIAL 2-8: Displaying Message Boxes .. 704/01/19 7:22 PMviii Customizing an Application s Form ..107 TUTORIAL 2-9: Setting the FormBorderStyle property and locking the controls on a form .. Using Visual Studio Help ..110 Summary 112 Key Terms 114 Review Questions 115 Programming Challenges 120 Chapter 3 Variables and Calculations Gathering Text Input.


Related search queries