Clearly Visual Basic: Programming with Microsoft Visual Basic 2010, Second Edition Diane Zak - eBook PDFinstant download
Clearly Visual Basic: Programming with Microsoft Visual Basic 2010, Second Edition Diane Zak - eBook PDFinstant download
https://ebookluna.com/download/clearly-visual-basic-programming-
with-microsoft-visual-basic-2010-second-edition-ebook-pdf/
Programming with Microsoft Visual Basic 2017 8th Edition Diane Zak - eBook
PDF
https://ebookluna.com/download/programming-with-microsoft-visual-
basic-2017-ebook-pdf/
https://ebookluna.com/product/ebook-pdf-introduction-to-programming-using-
visual-basic-10th-edition/
(eBook PDF) Starting Out With Visual Basic 8th Edition by Tony Gaddis
https://ebookluna.com/product/ebook-pdf-starting-out-with-visual-basic-8th-
edition-by-tony-gaddis/
(eBook PDF) Starting Out With Visual Basic 7th Edition by Tony Gaddis
https://ebookluna.com/product/ebook-pdf-starting-out-with-visual-basic-7th-
edition-by-tony-gaddis/
Microsoft Visual Basic 2017 for Windows, Web, and Database Applications:
Comprehensive 1st Edition Corinne Hoisington - eBook PDF
https://ebookluna.com/download/microsoft-visual-basic-2017-for-windows-web-
and-database-applications-comprehensive-ebook-pdf/
https://ebookluna.com/product/ebook-pdf-microsoft-visual-c-an-introduction-
to-object-oriented-programming-7th-edition/
https://ebookluna.com/product/ebook-pdf-starting-out-with-visual-c-5th-
edition/
Microsoft Visual C# Step by Step, 9th Edition John Sharp - eBook PDF
https://ebookluna.com/download/microsoft-visual-c-step-by-step-9th-edition-
ebook-pdf/
https://ebookluna.com/download/basic-japanese-second-edition-ebook-pdf/
This is an electronic version of the print textbook. Due to electronic rights restrictions, some third party content may be suppressed.
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience.
The publisher reserves the right to remove content from this title at any time if subsequent rights restrictions require it.
For valuable information on pricing, previous editions, changes to current editions, and alternate formats,
please visit www.cengage.com/highered to search by ISBN#, author, title, or keyword for materials in your areas of interest.
CLEARLY VISUAL BASIC®
P R O G R A M M I N G W I T H M I C R O S O F T ® V I S U A L B A S I C ® 2 01 0
This page intentionally left blank
SECOND EDITION
DIANE ZAK
Australia l Brazil l Japan l Korea l Mexico l Singapore l Spain l United Kingdom l United States
Clearly Visual Basic: ª 2012 Course Technology, Cengage Learning
Programming with Microsoft
ALL RIGHTS RESERVED. No part of this work covered by the copyright herein may be
Visual Basic 2010, Second Edition reproduced, transmitted, stored or used in any form or by any means graphic, electronic,
Diane Zak or mechanical, including but not limited to photocopying, recording, scanning, digitizing,
taping, Web distribution, information networks, or information storage and retrieval
Executive Editor: Marie Lee
systems, except as permitted under Section 107 or 108 of the 1976 United States
Acquisitions Editor: Brandi Shailer Copyright Act, without the prior written permission of the publisher.
Senior Product Manager: Alyssa Pratt
Freelance Product Manager: Tricia Coia
For product information and technology assistance, contact us at
Associate Product Manager: Cengage Learning Customer & Sales Support, 1-800-354-9706
Stephanie Lorenz
For permission to use material from this text or product,
Marketing Manager: Shanna Shelton
submit all requests online at cengage.com/permissions
Senior Content Project Manager: Jill Braiewa Further permissions questions can be emailed to
Quality Assurance: Green Pen QA permissionrequest@cengage.com
Art Director: Faith Brosnan
Cover Designer: Cabbage Design Company Library of Congress Control Number: 2011921829
Text Designer: Shawn Girsberger
ISBN 13: 978 1 111 53015 0
Print Buyer: Julio Esperas
ISBN 10: 1 111 53015 7
Proofreader: Suzanne Huizenga
Indexer: Alexandra Nickerson Course Technology
Compositor: Integra Software Services 20 Channel Center Street
Boston, MA 02210
USA
Some of the product names and company names used in this book have been used for
identification purposes only and may be trademarks or registered trademarks of their
respective manufacturers and sellers.
Course Technology, a part of Cengage Learning, reserves the right to revise this
publication and make changes from time to time in its content without notice.
Example: Microsoft® is a registered trademark of the Microsoft Corporation.
Cengage Learning is a leading provider of customized learning solutions with office
locations around the globe, including Singapore, the United Kingdom, Australia,
Mexico, Brazil, and Japan. Locate your local office at: www.cengage.com/global
Cengage Learning products are represented in Canada by Nelson Education, Ltd.
To learn more about Course Technology, visit
www.cengage.com/coursetechnology
To learn more about Cengage Learning, visit www.cengage.com
Purchase any of our products at your local college store or at our preferred online store
www.cengagebrain.com
Brief Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
C H AP T E R 1 I Am Not a Control Freak! (Control Structures) . . . . . . . . . .1
C H AP T E R 2 First You Need to Plan the Party (Problem-Solving Process) . . . 11
C H AP T E R 3 I Need a Tour Guide (Introduction to Visual Basic 2010) . . . . . 27
C H AP T E R 4 Do It Yourself Designing (Designing Interfaces) . . . . . . . . . 49
C H AP T E R 5 The Secret Code (Assignment Statements) . . . . . . . . . . . 67
C H AP T E R 6 Where Can I Store This? (Variables and Constants) . . . . . . . 81
C H AP T E R 7 What’s Wrong with It? (Syntax and Logic Errors) . . . . . . . . .101
C H AP T E R 8 Decisions, Decisions, Decisions (Selection Structure) . . . . . .115
C H AP T E R 9 Time to Leave the Nest (Nested Selection Structures) . . . . . .139
C H AP T E R 1 0 So Many Paths . . . So Little Time (Multiple-Alternative
Selection Structures) . . . . . . . . . . . . . . . . . . . .159
C H AP T E R 1 1 Testing, Testing . . . 1, 2, 3 (Selecting Test Data) . . . . . . . .183
C H AP T E R 1 2 How Long Can This Go On? (Pretest Loops) . . . . . . . . . . .203
C H AP T E R 1 3 Do It, Then Ask Permission (Posttest Loops) . . . . . . . . . .231
C H AP T E R 1 4 Let Me Count the Ways (Counter-Controlled Loops) . . . . . . .241
C H AP T E R 1 5 I’m on the Inside; You’re on the Outside (Nested Loops) . . . . .261
C H AP T E R 1 6 I Hear You Are Breaking Up (Sub Procedures) . . . . . . . . . .279
C H AP T E R 1 7 Talk to Me (Function Procedures) . . . . . . . . . . . . . . .303
C H AP T E R 1 8 A Ray of Sunshine (One-Dimensional Arrays) . . . . . . . . . .319
C H AP T E R 1 9 Parallel and Dynamic Universes (More on One-Dimensional
Arrays) . . . . . . . . . . . . . . . . . . . . . . . . . . .341
C H AP T E R 2 0 Table Tennis, Anyone? (Two-Dimensional Arrays) . . . . . . . .363
C H AP T E R 2 1 Building Your Own Structure (Structures) . . . . . . . . . . . .383
vi
CONTENTS
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Review Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Di altri artisti isolani non vi sono opere nel museo; vi sono invece
una Deposizione di Polidoro da Caravaggio, in tutto simile a quella di
Roma; un Cristo schernito che si vuole di Gherardo delle Notti, e
molti buoni quadri d'ignoti autori, tra i quali un bellissimo Tobia della
scuola del Ribera, una Maddalena, una S. Cecilia di scuola
bolognese, una morte di Catone fiamminga, e via dicendo.
MONUMENTO A VINCENZO BELLINI, DEL MONTEVERDE.
(Fot. Alinari).
E dalla fine del Cinquecento bisogna scendere alla metà del Seicento
per trovare un altro pittore catanese di qualche merito: quell'abate
Pietro Abbatessa, o l'Abbadessa, che studiò a Roma sotto Cristoforo
Roncalli, il Pomaranci, e delle cui molteplici opere sparse nelle chiese
cittadine non restano se non la decorazione a fresco dell'abside della
Badia di S. Giuliano ed una Vergine col Bambino fra un gruppo di
santi nel Duomo, che il solito Accademico Infecondo definisce «uno
stupore colorato». Il quadro ha buone qualità di concetto e di
tecnica, e belle attitudini dimostrano anche le altre opere di pittori
catanesi del Settecento: le tele di Francesco Gramignani
rappresentanti la visione di S. Vincenzo de' Paoli (1778) nella chiesa
della Collegiata; lo Sposalizio di Maria e Giuseppe a S. Francesco;
quelle di Giuseppe Guarnaccia, che da Roma, dove studiò, mandò in
patria i due S. Franceschi di Paola e d'Assisi; e principalmente quelle
di Olivio Sozzi, nato nel 1690, morto nel 1765, dopo aver prodotto
alla scuola del Conca un gran numero di opere: i larghi freschi della
cupola dei Gesuiti, la decorazione della maggior sala della Biblioteca
universitaria — ultimamente distrutta per dar luogo a un nuovo
ordine di palchetti — , il S. Giovanni Battista della Trinità, il ritratto di
Pietro Lauria nella chiesa dell'Aiuto, la S. Apollonia della Collegiata, il
non compiuto S. Elia del Carmine, e via dicendo.
Pochi nomi, come si vede, e scarsa fama, non solo fuori di patria, ma
fra gli stessi concittadini. Nella storia delle arti del disegno, ed anche
in quella delle lettere e delle scienze, Catania tenne, durante l'età più
vicina alla nostra, un posto troppo mediocre. Neanche nella restante
Sicilia la nativa vivacità dell'ingegno isolano potè, per colpa della
secolare oppressione spagnuola e borbonica, esser fecondata. Le
stesse ricchezze naturali della terra non poterono fruttificare.
Catania, che era una cittaduzza di quattordici mila abitanti nel 1501,
mise tre secoli a crescere fino a cinquantamila; ma in questi ultimi
sessanta anni, con uno slancio paragonabile solo a quello di Milano,
ha più che triplicato la sua popolazione. Il porto, aspirazione quattro
volte centenaria dei Catanesi, sei volte iniziato e sei volte inghiottito
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookluna.com