Buy Ebook Clearly Visual Basic: Programming With Microsoft Visual Basic 2010, Second Edition Diane Zak - Ebook PDF Cheap Price
Buy Ebook Clearly Visual Basic: Programming With Microsoft Visual Basic 2010, Second Edition Diane Zak - Ebook PDF Cheap Price
com
https://ebookluna.com/download/clearly-visual-basic-
programming-with-microsoft-visual-basic-2010-second-edition-
ebook-pdf/
OR CLICK HERE
DOWLOAD NOW
https://ebookluna.com/download/programming-with-microsoft-visual-
basic-2017-ebook-pdf/
ebookluna.com
https://ebookluna.com/product/ebook-pdf-introduction-to-programming-
using-visual-basic-10th-edition/
ebookluna.com
https://ebookluna.com/product/ebook-pdf-starting-out-with-visual-
basic-8th-edition-by-tony-gaddis/
ebookluna.com
https://ebookluna.com/product/ebook-pdf-starting-out-with-visual-
basic-7th-edition-by-tony-gaddis/
ebookluna.com
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/
ebookluna.com
https://ebookluna.com/product/ebook-pdf-microsoft-visual-c-an-
introduction-to-object-oriented-programming-7th-edition/
ebookluna.com
https://ebookluna.com/product/ebook-pdf-starting-out-with-
visual-c-5th-edition/
ebookluna.com
https://ebookluna.com/download/microsoft-visual-c-step-by-step-9th-
edition-ebook-pdf/
ebookluna.com
https://ebookluna.com/download/basic-japanese-second-edition-ebook-
pdf/
ebookluna.com
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 [email protected]
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
Fig. 129.
Fig. 130.
Fig. 131.
Fig. 132.
Fig. 133.
Fig. 134.
Next is the exercise for which the leg-flexion exercises prepare the
patient, and which are discontinued when this one is adopted. It is
started, as a rule, about the seventh day, or three or four days before
the patient gets up. Both legs are slowly lifted to a position at right
angles to the body (Fig. 134) and slowly lowered, but not far enough
for the heels to touch the bed (Fig. 135), and the movement repeated.
As this exercise requires a good deal of effort, it must be taken up
very gradually, as follows: The legs should be raised on the first day,
once in the morning and twice in the evening; second day, three
times in the morning and four times in the evening; third day, five
times in the morning and six times in the evening and so on, if the
patient is not fatigued, until the exercise is repeated ten times each
morning and evening. It is continued for several months.
Fig. 135.
Not infrequently the nurse remains with her patient after the end
of the puerperium, and therefore she may have the care of the
mother and baby for several weeks, or even months. The most
valuable single service which she can perform in this capacity is to
help in making it possible for the mother to nurse her baby at the
breast. For both the nurse and the mother must realize that the
breast-fed baby is much more likely to live through the difficult first
year, and is markedly less susceptible to disease and infection than is
the bottle-fed baby.
The first step is to convince the young mother of what it means to
her baby and her obligation to try to nurse him, since, excepting
under very rare and unusual conditions, she can nurse him if she
wants to enough to make the necessary effort and sacrifice.
The important contra-indications for attempting breast-feeding
are retracted nipples, tuberculosis, eclampsia, severe heart or kidney
disease and certain acute infectious diseases such as typhoid fever.
It seldom happens that the mother who has had average prenatal
care, followed by good care during and after delivery, is unable to
nurse her baby if she orders her life in the way that is known to be
necessary to promote and maintain lactation. The first essential is
her real desire to nurse her baby; next, her appreciation of the
continuous care of herself that is necessary and third, her whole-
hearted willingness to take this care for her baby’s sake.
It is safe to say that if the doctor and the nurse and the patient all
want the baby to nurse at the breast, and all do everything in their
power to make this possible, they will almost invariably succeed. This
assertion can scarcely be made too positively, and the nurse should
never lose sight of the fact that if the baby is not breast-fed he is
being defrauded, and in the vast majority of cases, because of
insufficient effort on the part of the doctor, nurse or patient, or all
three.
A favorable frame of mind and state of good nutrition in the
mother are the two indispensable factors in establishing breast-
feeding and in maintaining the secretion of an adequate supply of
breast-milk. These conditions, in turn, are both affected by her
general mode of living, as long as the baby nurses.
Women with happy, cheerful dispositions usually nurse their
babies satisfactorily, while those who worry and fret are likely to
have an insufficient supply of milk, or milk of a poor quality. And in
addition to this sustained influence, the temporary effect of a fit of
temper; of fright; grief; anxiety or any marked emotional disturbance
is frequently injurious to the quality of milk that previously has been
satisfactory. Actual poisons are created by such emotions and may
affect the baby so unfavorably as to make it advisable to give him
artificial food, for the time being, and empty the breasts by stripping
or pumping, before he resumes breast feeding.
A mother’s lack of faith in her ability to nurse is so detrimental in
its effect that she must be assured over and over, that she can nurse
her baby if she will persevere. If the nursing does not go well at first
she must not give up, but must continue to put the baby to the
breasts regularly, as this is the best means of stimulating them to
activity. His feeding should be supplemented with modified cow’s
milk, if the breast milk is inadequate, either in amount or quality.
Method of Nursing. The baby should be put to the breast for the
first time between eight and twelve hours after he is born. This gives
the tired mother an opportunity to rest and sleep, and the baby, too,
is benefited by being kept warm and quiet during this interval. His
need for food is not great as yet, nor is there much if any
nourishment available for him.
In preparing to nurse her baby, the mother should turn slightly to
one side, and hold the baby in the curve of her arm so that he may
easily grasp the nipple on that side. She should hold her breast from
the baby’s face with her free hand by placing the thumb above and
fingers below the nipple, thus leaving his nose uncovered, to permit
his breathing freely. (Fig. 138.) The mother and baby should lie in
such positions that both will be comfortable and relaxed, and the
baby will be able to take into his mouth, not only the nipple but the
areola as well, so as to compress the base of the nipple with his jaws
as he extracts the milk by suction.
The average baby nurses about every six hours during the first two
days, or four times in twenty-four hours. According to one schedule
he will nurse every three hours during the day for about three
months, beginning with the third day, and at 10 p.m. and 2 a.m., or
seven times in twenty four hours. From the third to the sixth month
he nurses every three hours during the day and at ten o’clock at
night, or six times in twenty-four hours, and from that time until he
is weaned he should nurse at four hour intervals during the day and
at ten o’clock at night, or five times daily, as follows:
Day Night