Programming with Microsoft Visual Basic 2017 8th Edition Diane Zak - eBook PDFpdf download
Programming with Microsoft Visual Basic 2017 8th Edition Diane Zak - eBook PDFpdf download
https://ebookluna.com/download/programming-with-microsoft-visual-
basic-2017-ebook-pdf/
Clearly Visual Basic: Programming with Microsoft Visual Basic 2010, Second
Edition Diane Zak - eBook PDF
https://ebookluna.com/download/clearly-visual-basic-programming-with-
microsoft-visual-basic-2010-second-edition-ebook-pdf/
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-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) Microsoft Visual C#: An Introduction to Object-Oriented
Programming 7th Edition
https://ebookluna.com/product/ebook-pdf-microsoft-visual-c-an-introduction-
to-object-oriented-programming-7th-edition/
(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/
https://ebookluna.com/product/ebook-pdf-financial-analysis-with-microsoft-
excel-2016-8th/
https://ebookluna.com/product/ebook-pdf-essentials-of-modern-business-
statistics-with-microsoft-excel-8th-edition/
https://ebookluna.com/download/financial-analysis-with-microsoft-excel-
ebook-pdf/
8th
DIANE ZAK
EDITION
progr a mming w i t h
progr a mming w i t h
VISUAL BASIC
®
20 17
DIANE ZAK
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
PROGRAMMING WITH
MICROSOFT® VISUAL BASIC® 2017
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
EIGHTH EDITION
PROGRAMMING
WITH MICROSOFT®
VISUAL BASIC® 2017
DIANE ZAK
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Programming with Microsoft® Visual Basic® © 2018 Cengage Learning
2017, Eighth Edition
Diane Zak ALL RIGHTS RESERVED. No part of this work covered by the copyright herein
may be reproduced, transmitted, stored or used in any form or by any means
graphic, electronic, or mechanical, including but not limited to photocopying,
SVP, GM Science, Technology & Math: Balraj S. recording, scanning, digitizing, taping, Web distribution, information
Kalsi networks, or information storage and retrieval systems, except as permitted
under Section 107 or 108 of the 1976 United States Copyright Act, without the
Product Director: Kathleen McMahon
prior written permission of the publisher.
Product Team Manager: Kristin McNary
Senior Director, Development: Julia Caballero For permission to use material from this text or product, submit all
requests online at www.cengage.com/permissions.
Product Assistant: Jake Toth
Further permissions questions can be e-mailed to
Marketing Director: Michele McTighe permissionrequest@cengage.com
Senior Production Director: Wendy Troeger Library of Congress Control Number: 2017940681
Open Clip art source: OpenClipArt Cengage Learning products are represented in Canada by Nelson Education, Ltd.
Purchase any of our products at your local college store or at our preferred
online store www.cengagebrain.com
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
v
Brief Contents
Pref ace . . . . . . . . . . . . . . . . . . . . . . . . . xi v
Read T h is Bef o re You Begi n . . . . . . . . . . . . . . . . xvi i i
CHAP TER 1 An In t ro du ct i o n to V i sual Studi o 2 0 1 7 and V i sual Ba s i c . . . . . 1
CHAP TER 2 Plan n in g Appl i cati ons and Desi gni ng I nter faces . . . . . . . . 49
CHAP TER 3 Co din g w it h Vari abl es, Named Constants, and Cal cul a ti ons . . . 73
CHAP TER 4 T h e Select i o n Structure . . . . . . . . . . . . . . . . . . 119
CHAP TER 5 T h e Repeti t i o n Structure . . . . . . . . . . . . . . . . . 181
CHAP TER 6 Su b an d Funct i on Procedures . . . . . . . . . . . . . . . 237
CHAP TER 7 St r in g M ani pul ati on . . . . . . . . . . . . . . . . . . . . 287
CHAP TER 8 Ar r ays . . . . . . . . . . . . . . . . . . . . . . . . . 341
CHAP TER 9 Sequ en t ial A ccess Fi l es and Menus . . . . . . . . . . . . . 392
CHAP TER 10 Clas s es an d Obj ects . . . . . . . . . . . . . . . . . . . 427
CHAP TER 11 SQL Ser ve r Dat abases . . . . . . . . . . . . . . . . . . 475
CHAP TER 12 Dat abas e Queri es wi th SQL . . . . . . . . . . . . . . . . 529
CHAP TER 13 Web Sit e Appl i cati ons . . . . . . . . . . . . . . . . . . . 565
APPEN DIX A GU I Des ig n Gui del i nes . . . . . . . . . . . . . . . . . . 599
APPEN DIX B Addit io n al To pi cs . . . . . . . . . . . . . . . . . . . . . 604
APPEN DIX C F in din g and Fi x i ng Program Errors . . . . . . . . . . . . . 632
APPEN DIX D V is u al B asi c 2 0 1 7 Cheat Sheet . . . . . . . . . . . . . . 647
APPEN DIX E Cas e Pro je ct s . . . . . . . . . . . . . . . . . . . . . . 667
Index . . . . . . . . . . . . . . . . . . . . . . . . . . 671
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
vi
Contents
Pref ace . . . . . . . . . . . . . . . . . . . . . . . . . xi v
Read T h is B ef o re Yo u Begi n . . . . . . . . . . . . . . . . xv i i i
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
vii
CHAP TER 2 Plan n in g Appl i cati ons and Desi gni ng I nter faces . . . . . . . . 49
FOCUS ON THE CONCEPTS LESSON . . . . . . . . . . . . . . . . . . 50
F-1 Planning a Windows Forms Application . . . . . . . . . . . . . . . . . . . . 50
F-2 Windows Standards for Interfaces . . . . . . . . . . . . . . . . . . . . . . 52
Guidelines for Identifying Labels and Buttons . . . . . . . . . . . . . . . . . . 53
Guidelines for Including Graphics . . . . . . . . . . . . . . . . . . . . . . . . 53
Guidelines for Selecting Fonts . . . . . . . . . . . . . . . . . . . . . . . . . 53
Guidelines for Using Color . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
F-3 Access Keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
F-4 Tab Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
CHAP TER 3 Co din g w i t h Vari abl es, Named Constants, and Cal cu l a ti ons . . . 73
FOCUS ON THE CONCEPTS LESSON . . . . . . . . . . . . . . . . . . 74
F-1 Pseudocode and Flowcharts . . . . . . . . . . . . . . . . . . . . . . . . . 74
F-2 Main Memory of a Computer . . . . . . . . . . . . . . . . . . . . . . . . . 76
F-3 Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Selecting an Appropriate Data Type . . . . . . . . . . . . . . . . . . . . . . 77
Selecting an Appropriate Name . . . . . . . . . . . . . . . . . . . . . . . . 78
Examples of Variable Declaration Statements . . . . . . . . . . . . . . . . . . 79
F-4 TryParse Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
F-5 Arithmetic Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
F-6 Assigning a Value to an Existing Variable . . . . . . . . . . . . . . . . . . . 85
F-7 ToString Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
F-8 Option Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
F-9 Named Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
viii
C ontents
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .108
Review Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
ix
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
x
C ontents
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
xi
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
xii
C ontents
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
xiii
Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 556
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .557
Review Questions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 558
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .560
Index . . . . . . . . . . . . . . . . . . . . . . . . . . 671
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
xiv
Preface
Programming with Microsoft Visual Basic 2017, Eighth Edition uses Visual Basic 2017, an
object-oriented language, to teach programming concepts. This book is designed for a beginning
programming course. However, it assumes that students are familiar with basic Windows skills
and file management.
Approach
Each chapter in Programming with Microsoft Visual Basic 2017, Eighth Edition contains two
lessons titled Focus on the Concepts and Apply the Concepts. Each lesson has its own set of
objectives. The Focus lessons concentrate on programming concepts, using examples along with
sample applications designed to reinforce the concepts being taught. The Apply the Concepts
lessons show students how to apply the concepts from the chapter’s Focus lesson in different
ways. The Apply lessons also expand on the concepts taught in the Focus lesson. Both lessons
provide tutorial-style steps that guide the student on coding, running, and testing applications.
Each sample application allows the student to observe how the current concept can be used
before the next concept is introduced.
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Discovering Diverse Content Through
Random Scribd Documents
Half an hour more went by; and then was heard the sound of many
feet passing along through some chamber near. At the end of above
five minutes the door opened, and Monsieur de Tronson led in an
elderly lady habited as if for a journey.
"Madame de Langdale," said the secretary of the cabinet, addressing
Lucette, "Madame de Lagny, with whom you passed last night, will
have the pleasure of accompanying you and Monsieur de Langdale
on your journey. The carriage has been ready for an hour; but, the
council having sat later than usual, I could not leave my post.
Monsieur will do me the honor of accompanying me to his chamber
below, where I will put him in possession of his money and his safe-
conduct, together with his baggage, while you prepare for travelling,
which, as it is, must, I fear, be protracted into the night."
Edward followed him down several flights of steps, conversing with
him, as he went, upon the arrangements for their journey, telling
him that he feared from his servant's information they would be
obliged to proceed beyond Niort to St. Martin des Rivières, and that,
consequently, at least two days more than he had calculated upon
must pass ere he could fulfil the promise he had given to return.
But De Tronson seemed thoughtful and absent; for, in truth, he had
just come from a painful scene;[3] and, although he heard, and
answered all his young companion said, it was by an effort, and
evidently without interest.
All the arrangements were soon made, however. Edward's property
was restored to him; the tradesmen he and Lucette had employed
were paid; and then the secretary led him to the little court, where
stood one of the large clumsy carriages of the day with four tall
horses. A stout man on horseback was also there, holding by the
rein the horse which Jacques Beaupré had ridden to Nantes, and, as
no beast had been provided for Pierrot, he mounted beside the
coachman. Lucette and her companion were already in the vehicle,
and, with a kind adieu from M. de Tronson, Edward took his place
beside them, and the vehicle rolled on.
CHAPTER XXI.
It was a beautiful evening in July, the sky flecked with light clouds
just beginning to look a little rosy with a consciousness that Phœbus
was going to bed. They cannot get over that modest habit; for,
although they have seen the god strip himself of his garmenture of
rays and retire to rest every day for—on a very moderate calculation
—six or seven thousand years, they will blush now and then when
they see him entering his pavilion of repose and ready to throw off
his mantle. There is much pudency about clouds. All other things get
brazen and hardened by custom, but clouds blush still.
It was a beautiful evening in July when the carriage which contained
Lucette, Edward, and Madame de Lagny arrived in sight of the
chateau of St. Martin des Rivières; but, when they did come in sight,
how to get at it became a question of some difficulty. There, on a
little mound, stood the building,—not large, but apparently very
massive and well fortified,—within a hundred yards of the confluence
of two deep and rapid rivers, the passage of each commanded by
the guns on the ramparts and on the keep. No bridge, no boat, was
to be seen, and for some time the party of visitors made various
signals to the dwellers in the chateau; but it was all in vain, and at
length Edward Langdale resolved to mount the good strong horse of
Jacques Beaupré and swim the nearest stream.
Educated in a city, it was not without terror and a sweet, low
remonstrance that Lucette saw her young husband undertake and
perform a feat she had never seen attempted before; but Edward,
though borne with his horse a good way down the stream by the
force of the water, reached the other side in safety, and his
companions could see him ride to the draw-bridge and enter the
castle.
During some twenty minutes nothing further could be descried; and
then, at a point where one of the outworks came down to the river,
what I think was called in those days a water-gate was opened, and
a boat shot out with two strong rowers.
Edward Langdale himself did not appear; but one of the boatmen
walked up to the carriage and informed the ladies that his lord, the
Duc de Rohan, would be happy to receive them in the chateau, but
that the carriage and the men must remain on that side of the river,
as the boat could only contain four persons and none other could be
had.
"Ah, that is the reason Monsieur de Langdale did not return for us,"
said Madame de Lagny, with whom Edward had become a great
favorite. "I was sure he had too much politeness to send servants for
his lady if he could come himself."
A few minutes passed in placing Lucette's little wardrobe in the boat,
and then, with a heart somewhat faint and sad, she followed
Madame de Lagny to the water-side, remembering but too acutely
that on the opposite bank she was to be received by persons who,
however near akin, were but strangers to her, and there, too, very
soon to part from him whom she was not now ashamed to own to
herself she loved better than any one on earth.
The boat shot off from the shore, and though carried so far down by
the force of the current that the water-gate could not be reached,
yet after some hard pulling the shore was gained, and the two ladies
turned toward the drawbridge over which they had seen Edward
Langdale pass. Madame de Lagny looked toward the great gate, but
the young husband did not appear. In his place, however, was seen
a stout middle-aged man, with hair somewhat silvered, and his
breast covered by a plain corslet of steel. There were two or three
other persons a step farther under the arch; and Madame de Lagny
whispered, "That must be the duke himself. But where can Monsieur
Edward be?"
Lucette's heart was asking her the same question; but by this time
the Duc de Rohan was advancing to meet her and her companion,
and in a moment more he was near enough to take Madame de
Lagny's hand and raise it courteously to his lips.
"You have come to a rude place, madame," he said, "and among
somewhat rude men; but we must do what we can to make your
stay tolerable."
"Oh, my lord duke," replied the lady, with a courtly inclination of the
head, "I must away as soon as possible. I am expected back at the
court directly. But where is Monsieur de Langdale? I do not see him."
"He is in the chateau, madame," replied the duke; "but he has been
telling me so strange a tale that I have judged it best, before he and
this—["girl," he was in the act of saying; but he checked himself, and
substituted the words "young lady"]—before he and this young lady
meet again, to have from her lips and from yours what are the facts
of the case. Pray, let us go in."
"The facts of the case are very simple, my lord," replied the old lady,
with some stiffness. "Monsieur de Langdale is the husband of this
young lady, formerly Mademoiselle de Mirepoix, whom you do not
seem to recognise, my lord duke, though she is your near of kin. He
married her in the presence of the cardinal and the whole court."
"More impudent varlet he!" exclaimed the duke, angrily. "And you,
mademoiselle,—what have you to say to all this fine affair? Why, you
are a mere child! This marriage can never stand!—without any one's
consent! It is a folly!"
"Not at all, duke," said Madame de Lagny. "Pray, recollect, sir, that
Madame de Rambouillet was married at twelve,—I myself at sixteen.
Madame is nearly fifteen, she tells me; and, as to the marriage not
standing, you will find yourself much mistaken. The man who made
it is not one to leave any thing he undertakes incomplete, as you will
discover. They are as firmly married as any couple in the land, and
that with the full authority of the king, which in this realm of France
supersedes the necessity for any other consent whatever. She is a
ward of the crown, sir; and her father having died in rebellion is no
bar to the rights of the monarch."
"Madame, I beseech you, use softer words," said the duke, in a
calmer tone. "My good cousin De Mirepoix died in defence of his
religion, without one thought of rebellion, and really in the service of
his Majesty, whose plighted word had been violated not by himself,
but by bad ministers who usurped his name. Make room, gentlemen.
This way, madame. We shall find in this hall a more private place for
our conference."
So saying, he led the way into the large room in the lower story of
the keep, and there begged Madame de Lagny to be seated. Lucette
he took by the arm and gazed into her face for a moment, saying,—
"Yes; she is very like. Here, take this stool, child: we have no
fauteuils here. Now, answer my question. What had you to do with
this marriage? Did it take place at his request or yours?"
Lucette's heart had at first sunk with alarm and disappointment at
the harsh reception she had received, having little idea what a
chattel—what a mere piece of goods—a rich orphan relation was
looked upon amongst most of the noble families of France. But the
very harshness which had terrified her at first at length roused her
spirit; and, though she colored highly, she replied, in a firm tone, "At
neither his request nor mine, my lord."
"Ah! good!" cried the duke. "Then neither of you consented? The
marriage of course——"
"We did both consent," said Lucette, interposing. "Did he not tell you
the circumstances? Did he not give you the cardinal's message?"
"He told me a good deal, and he said something about the
Eminence; but, by my faith, I was so heated by the tale that I did
not much attend to the particulars. Let me hear your story,
mademoiselle. What did the cardinal say?"
"My lord, we had been stopped near Mauzé by some of the royal
officers, and sent on under guard toward Nantes——"
"Oh, I know all about that," interrupted the duke. "What have you
been doing since? I trust, not masquerading about Nantes dressed
up as a page; though, by my faith, ladies are now getting so fond of
men's clothes that they will soon leave us none to wear ourselves.
Why, there was my good cousin De Chevreuse, with her young
daughter, rode across the country, both in cavaliers' habits, and,
finding no other gîte, stayed all night with the good simple curé of
the parish, who never found out they were women till they were
gone. Well, where have you been, and what have you been doing,
since that affair at Mauzé?"
"The Abbey de Moreilles was burned by lightning, my lord," replied
Lucette, whose cheek had not lost any part of its red from De
Rohan's language. "We escaped into the Marais, where I was taken
ill of the fever common there. As soon as I could travel, we went
direct to Nantes, intending to come round at once and seek for
Monsieur de Soubise. In consequence of his having sent a man with
some of my husband's baggage to that city, we were discovered and
arrested."
"Your husband, little child?" exclaimed the duke. "But go on; go on.
What happened next?"
"I was separated from Edward, who had treated me with the
kindness of a brother," said Lucette.
"Ay, I dare say," again interrupted De Rohan;—"with something
more than the kindness of a brother."
"For shame, Monsieur le Duc!" said Madame de Lagny, sharply. "You
said very truly just now that we had come to a rude place and
amongst rude men. If the cardinal had known what sort of reception
this poor lady would meet with, I am sure he would have followed
the course Monsieur de Tronson hinted at and given her up to
Madame de Chevreuse. There at least she would have been treated
with respect and kindness."
At the mere name of Madame de Chevreuse the duke's countenance
changed. Without knowing it, good old Madame de Lagny had
touched a chord which was sure to vibrate in the heart of any of the
Rohan Rohans as soon as one of the Rohan Montbazons was
mentioned; and after a moment's pause the prince answered, with a
very much less excited air, "His Eminence acted courteously and well
in not giving up my fair young cousin to a lady who has no right to
her guardianship, who was her father's enemy, whose conduct is not
fit for the eyes of a young girl even to witness. But tell me,
mademoiselle, what was the message his Eminence sent to my
brother to account for his conduct in bestowing—in attempting to
bestow—your hand upon an unknown English lad, who may be of
good family or may not, but who is no match for any one of the
name of Rohan?"
"He said, sir," answered Lucette, "that we were to tell you or the
Prince de Soubise, whichever we might find, that, under the peculiar
circumstances of the case,—by which, I presume, he meant our
having travelled so long together,—the cardinal prime minister had
judged it imperatively necessary we should be married, and had
himself seen the ceremony performed; that for two years Edward
should leave me with you, but that at the end of that time he should
claim me and take me, and that all his Eminence's power should be
exerted to give me to him. He added, in a lower tone, 'They will find
me more difficult to frustrate than Madame de Chevreuse.'"
"That is true, as I live!" said the duke. "But yet this is hard. Why,
girl, it will drive my brother Soubise quite mad,—if he be not mad
already, as I sometimes think he is."
"His madness will not serve him much against the cardinal," said
Madame de Lagny, dryly. "But, my lord, we must bring this
discussion to an end, for it is growing dark, and I and Monsieur de
Langdale must be treading our way back to Nantes. He is but, as it
were, a prisoner upon parole; and I promised my cousin De Tronson
I would make no delay."
"Madame, in all the agitation and annoyance this affair has cost me,"
said Rohan, "I have somewhat, I am afraid, forgotten courtesy. I
ordered refreshments for you, indeed, as soon as I heard of your
coming; but I did not remember to ask you to partake of them. They
will be here in a moment."
"We can hardly stay," said the old lady. "But I beg, sir, you would let
Monsieur Edouard be called, both to accompany me and to take
leave of his wife."
The duke bit his lips; but after a moment's thought he answered,
"Pray, madame, take some refreshment. As to this lad, he may come
and wish her good-bye; but no private interview, if you please!"
The old marquise was a good deal offended at all that had passed,
and it was not without satisfaction she replied, "Oh, I dare say they
have said all to each other they want to say, Monsieur le Duc. They
have had private interviews enough since their marriage to make all
their arrangements. Is it not so, dear Lucette?"
But Lucette was weeping, and De Rohan, with a cloudy brow,
quitted the room.
In a few moments some refreshments were brought in and placed
upon the table, and the duke appeared, accompanied by Edward
Langdale. The youth's look was serious, and even angry, but that of
De Rohan a good deal more calm. "Sit down, monsieur, and take
some food," said the latter as they entered; but Edward answered at
once, "I neither eat nor drink in your house, sir. I did you and your
family what service I could, honestly and faithfully; and—because,
under force I could not resist, and to save myself and your fair
cousin from a fate which you would not have wished to fall upon her
nor I wish to encounter for myself, I yielded to a measure which God
and she know I never proposed when it was fully in our power—you
treat me with indignity. You much mistake English gentlemen, sir, if
you suppose that such conduct can be forgotten in a few short
minutes."
"By the Lord!" said De Rohan, with a laugh, "it is well you did not
meet with Soubise; for you might have had his dagger in you for half
what you have said."
"Or mine in him, if he had insulted me further," answered Edward,
walking toward Lucette and taking her hand.
"A pretty bold gallant," said the duke, with a smile. "Madame de
Lagny, I pray you, do more honor to my poor house than your young
friend."
Now, it must be confessed, the good old lady was hungry; and
hunger is an overruling passion. The duke helped her to food and
wine, and then, having done what second thoughts had shown him
was only courteous to a lady, he turned, under the influence of the
same better thoughts, toward Edward, who was still talking in a
whisper to Lucette, while she, on her part, could hardly answer a
word for weeping.
"Young gentleman," said De Rohan, holding out his hand, "do not let
us part bad friends. Remember, first, that if there be any validity in
this marriage it is always better to keep well with a wife's relatives;
and, secondly, that one of my house, above all others, may well feel
mortified and enraged at an alliance which under no circumstances
we could have desired or sanctioned. Recollect our family motto,
—'Roi ne puis; prince ne daigne: Rohan je suis;' and pride is not so
bad a thing as you may think it now. If it be pride of a right kind, it
keeps a man from a world of meannesses. As to this young lady, I
will take care of her, and, now that my first fit of passion is past, will
treat her kindly. Be sure of that, Lucette; for I have even got a
notion, by some bad experience, that a portion of love is no evil in
the cup of matrimony. However, the question of this marriage must
be a matter of consultation between my brother Soubise and myself,
and the lawyers too; for I will not conceal from either of you that
Soubise, who has more to do with the business than I have, will
break it if he can."
Edward took the proffered hand; but he only replied, "His Eminence
the cardinal said that he had made it so fast there was no power on
earth or in hell to break it. But that must be determined hereafter,
my lord duke. At the end of two years I will claim my wife. In the
mean time, where is Monsieur de Soubise?"
"Go not near him! go not near him!" said De Rohan. "By my honor,
there would be blood-shed soon! He is at Blavet, I fancy, now, on his
way to England; but I will write to him this night, and, if possible,
you shall have his answer at Nantes. You must not expect any thing
very favorable to your pretensions; but, whatever it is, it shall be
sent."
"My lord, if I might ask one favor, I would do it," said Edward. "It is
this. From what you have yourself said, and from what others have
told me, I infer that Monsieur de Soubise is of no very placable nor
temperate disposition. He himself has had some share in producing
both what you look upon as a misfortune and what had nearly
proved the destruction of Lucette and myself, by sending—with very
good intentions, doubtless, but I think very unadvisedly—letters and
other matters to the very residence of the court, which betrayed our
coming to his Eminence the cardinal. Had that not been done, we
should in all probability have passed without question, and I should
have been able to restore this dear girl to her relations as
Mademoiselle de Mirepoix. As it is, my wife she is and must remain;
but I would rather that she was under your care than that of the
prince, for she has this evening suffered too much for an event,
which she could not avoid without dooming herself and me to
destruction; and I would fain that the same or perhaps more should
not be inflicted upon her from another quarter. Lucette will explain
to you much that I have not time to tell, for I see Madame de Lagny
has risen, and it is growing so dark that I fear we must depart."
"I can promise nothing," said the duke, "but that I will do my best."
Thus saying, he turned toward Madame de Lagny, who by this time
had some lights on the table before her, and addressed to her all
those ceremonious politenesses which no one knew better how to
display, when not moved by passion, than the Duc de Rohan.
In the mean time, Edward and Lucette remained at the darker side
of the room; but, had it been the broadest daylight, their natural
feelings would have suffered little restraint. The contrast of Edward's
love and tenderness with the cold harshness of her own relations
made all her affections cling closer round him than ever, and she
hung upon his breast and mingled kisses with his, while the tears
covered her cheeks and sobs interrupted her words. "Oh, Edward,"
she said, "I wish to Heaven that I were indeed but the grandchild of
good Clement Tournon, of Rochelle, as you once thought me! We
might be very happy then."
Mingled with his words of politeness to Madame de Lagny, the duke
had been giving some orders to his own attendants; and at length
he said, "Now, young gentleman, it is time to depart. Madame is
ready."
One last, long embrace, and Edward advanced to the side of the
duke. He did not venture to look at Lucette again, but followed
Rohan and Madame de Lagny closely into the outer hall, thence
through a small court and a place d'armes, in each of which were a
number of soldiers fully armed, and then by a covered way to the
water-gate, to which point the small boat had by this time been
brought round. There was still a faint light upon the river; but a
lantern had been placed lighted in the bow of the boat, and in a few
minutes the old lady and her young companion were landed on the
other side. One of the boatmen lighted them up to the carriage, and
Edward, after bestowing a piece of money upon the man, took his
seat beside Madame de Lagny, who gave orders to proceed toward
Nantes, stopping, however, at the first auberge where any thing like
tolerable accommodation could be found.
"Ah, poor Monsieur de Rohan!" she said, with perhaps not the most
compassionate feelings in the world. "He is much to be pitied; and,
indeed, he ought to feel, as he said, that some love in marriage is a
very good ingredient. He ought to know it by experience; for his own
good-for-nothing dame cares not, and never did care, for him; and it
is the common phrase in Paris that she has so large a heart she can
find room in it for everybody except her husband. Why, I know at
least ten lovers she has had besides the Duc de Candale, who is
more her slave than her lover, and who"——
Just at that moment, the horses having been put to, the coachman
gave a sharp crack of his the whip, the coach a tremendous jolt, and
Madame de Lagny brought her story to an end, somewhat to the
relief of her young companion.
CHAPTER XXII.
For the first time in life—and it was very early to begin—Edward
Langdale felt that loneliness of heart which parting for an indefinite
time from one we dearly love produces in all but the very light or the
very hard. He had never loved before; he had never even thought of
love; but now he loved truly and well. He might not indeed have
loved even now, for he and Lucette were both so young that the
idea might not have come into the mind of either; but their love had
been a growth rather than a passion; and, as the reader skilled in
such mysteries must have seen, it had been watered and trained
and nourished by all those accidents which raise affection from a
small germ to a beautiful flower. First, she had nursed him so
tenderly that he could not but feel grateful to her; then she had
been cast upon his care in dangers and difficulties of many kinds, so
that deep interest in her had sprung up. Then, again, she was so
beautiful, in her first fresh youth, that he could not but admire what
he protected and cherished. Then she was so innocent, so gentle, so
ductile, and yet so good in every thought, that he could not but
esteem and reverence what he admired. Then had come his turn of
nursing, and the interest became warmer, more tender; and at
length, when the mere thought of stating, in order to account for
their companionship, that they sought to be married first entered the
mind of each, it let a world of light into their hearts, and the whole
was pointed, directed, confirmed, by the sudden ceremony which
bound them together. They had promised at the altar to love each
other forever, and they felt that they could keep their word.
But Edward, as he rolled along by the side of Madame de Lagny,
could not help asking himself painful questions: "I shall love her
ever," he said to himself; "but she is so young, so very young,—a
mere child! Will her love last through a long separation? will not her
feelings change with changing years? does she even love me now as
I love her?"
Luckily he asked himself the last question, for it went some way to
answer the others to his satisfaction. There had been something in
her embrace, in her kiss, in her eyes, in her clinging tenderness,
which told him that she did love as he did; and he, feeling, or at
least believing, that he would love still, however long they might be
separated, learned to credit the sweet tale of Hope and believe that
she would love constantly too.
Nevertheless, he felt very sad; and yet he exerted himself eagerly
and successfully to make the journey pass as pleasantly as he could
to poor Madame de Lagny, who, though she had not undertaken her
disagreeable task out of any affection to either Edward or Lucette,
but merely in obedience to the wishes of Richelieu, had learned to
love both her young companions, and had taken their part sincerely
in the discussion with the Duc de Rohan. She was both a keen-
sighted and a clear-minded old lady; and she saw well the gloomy
sadness of Edward Langdale, and understood its cause; but she saw
likewise that he was making every effort to show her courteous
attention; and no old women are ever ungrateful for the attention of
young men.
For three days the weary journey back to Nantes continued; and in
that time the good marquise contrived to store the young
Englishman's mind with many of her own peculiar apothegms, some
good and some indifferent, but all the fruit of much worldly
experience grafted upon a keen and sensible mind.
"Never despair, my son," she said. "Many a man is lighted on his way
by a candle; nobody by a stone. Of a misfortune you can remove,
think as much as you like; of a situation you cannot change, think as
little as possible. If you have a marsh to go through, gallop as fast
as you can; and, if you have a heavy hour, fill it with action. A wasp
will not sting you if you do not touch it; and we do not feel sorrow
when we do not think of it."
Such were a few of the old lady's maxims, and one of them struck
Edward Langdale's fancy very much. "If you have a marsh to go
through," he repeated to himself, "gallop as fast as you can; and, if
you have a heavy hour, fill it with action." He thought that the next
two years would indeed be a marsh to him, and he resolved to
gallop through them as fast as he could. But there was one sad
reflection which he could not banish, one point in his situation which
gave him anxiety rather than pain. He knew not how to hold any
communication with his young bride. He was well aware that every
effort would be made to prevent it. Lucette had been once sent to
England to keep her out of the hands of the Duchesse de
Chevreuse: where might she not be sent now? Her two cousins
Soubise and Rohan were constantly roving from place to place, and
there was as little chance of any letter from him finding her as of
any news of where she was reaching him.
The old fable of Midas telling his misfortune to the reeds is founded
upon a deep knowledge of human nature. Man must have some one
to share the burden of heavy thoughts, and Edward told his to
Madame de Lagny. The old lady was better than the reeds, for she
whispered consolation. "I can help you but little, my son," she said;
"but, if you could attach yourself to the cardinal, he could help you a
great deal. However, I will do the best I can for you and the dear
child your little wife. If you want to write to her, send your letter to
me at the court, wherever it is, and the letter shall reach her sooner
or later. I will find means to let her know that she must send hers to
me likewise, and they shall reach you; if you will keep me always
informed of where you are."
Edward not only pressed her hand, but kissed it; and not five
minutes after, when they were within ten miles of the city of Nantes,
a man came riding at full speed after the carriage, drew up his horse
at the great leathern excrescence called the portière, and asked, in a
brusque tone, if Monsieur Langdale was in the coach.
"Yes; I am he," answered Edward. "What want you with me?"
"A letter," replied the man. And, handing in a sealed packet, he
turned his horse's head and rode away.
It was still early in the day, and the youth, breaking open the letter,
read the contents. They ran thus:—
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