Instant Download Programming With Microsoft Visual Basic 2017 8th Edition Diane Zak PDF All Chapter
Instant Download Programming With Microsoft Visual Basic 2017 8th Edition Diane Zak PDF All Chapter
com
OR CLICK BUTTON
DOWLOAD EBOOK
https://ebookmass.com/product/clearly-visual-basic-programming-
with-microsoft-visual-basic-2010-second-edition-diane-zak/
https://ebookmass.com/product/starting-out-with-visual-basic-8th-
edition-tony-gaddis/
https://ebookmass.com/product/microsoft-visual-basic-2017-for-
windows-web-and-database-applications-comprehensive-1st-edition-
corinne-hoisington/
https://ebookmass.com/product/financial-analysis-with-microsoft-
excel-8th-edition-timothy-r-mayes/
Oracle Database Programming with Visual Basic.NET:
Concepts, Designs and Implementations Ying Bai
https://ebookmass.com/product/oracle-database-programming-with-
visual-basic-net-concepts-designs-and-implementations-ying-bai/
https://ebookmass.com/product/essentials-of-modern-business-
statistics-with-microsoft-excel-8th-edition-david-r-anderson/
https://ebookmass.com/product/simple-and-efficient-programming-
with-c-skills-to-build-applications-with-visual-studio-and-
net-2nd-edition-vaskaran-sarcar/
https://ebookmass.com/product/simple-and-efficient-programming-
with-c-skills-to-build-applications-with-visual-studio-and-
net-2nd-edition-vaskaran-sarcar-2/
https://ebookmass.com/product/microsoft-visual-c-step-by-
step-9th-edition-john-sharp/
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 [email protected]
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
xv
Organization and Coverage
Features
Programming with Microsoft Visual Basic 2017, Eighth Edition is an exceptional textbook
because it also includes the following features:
READ THIS BEFORE YOU BEGIN This section is consistent with Cengage Learning’s
unequaled commitment to helping instructors introduce technology into the classroom.
Technical considerations and assumptions about hardware, software, and default
settings are listed in one place to help instructors save time and eliminate unnecessary
aggravation.
YOU DO IT! BOXES These boxes provide simple applications that allow students to
demonstrate their understanding of a concept before moving on to the next concept.
OPTION STATEMENTS All applications include the Option Explicit, Option Strict, and
Option Infer statements.
START HERE ARROWS These arrows indicate the beginning of a tutorial steps section in the
book.
FIGURES Figures that introduce new statements, functions, or methods contain both the
syntax and examples of using the syntax. Including the syntax in the figures makes the examples
more meaningful, and vice versa.
TIP These notes provide additional information about the current concept. Examples
include alternative ways of writing statements or performing tasks, as well as warnings
about common mistakes made when using a particular command and reminders of related
concepts learned in previous chapters.
SUMMARY Each chapter contains a Summary section that recaps the concepts covered in the
chapter.
KEY TERMS Following the Summary section in each chapter is a list of the key terms
introduced throughout the chapter, along with their definitions.
REVIEW QUESTIONS Each chapter contains Review Questions designed to test a student’s
understanding of the chapter’s concepts.
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
xvi
P reface Instructor Resources
SQL SERVER DATABASES AND SQL The book includes two chapters (Chapters 11 and 12)
on SQL Server databases and SQL.
NEW EXERCISES The Review Questions in each chapter are followed by Exercises, which
provide students with additional practice of the skills and concepts they learned in the chapter.
The Exercises are designated as INTRODUCTORY, INTERMEDIATE, ADVANCED, ON
YOUR OWN, and FIX IT. The ON YOUR OWN Exercises encourage students to challenge and
independently develop their own programming skills while exploring the capabilities of Visual
Basic 2017. Students are given minimum guidelines to follow when creating the ON YOUR
OWN applications. The FIX IT Exercises provide an opportunity for students to detect and
correct errors in an application’s code.
APPENDICES Appendix A summarizes the GUI design guidelines mentioned in the chapters,
making it easier for the student to follow the guidelines when designing an application’s interface.
Appendix B contains additional topics that can be covered along with (or anytime after) a
specified chapter. Appendix C teaches students how to locate and correct errors (syntax, logic,
and run time) in their code. The appendix shows students how to step through their code and
also how to create breakpoints. Appendix D contains a Cheat Sheet that summarizes important
concepts covered in the chapters, such as the syntax of statements, methods, and so on. The
Cheat Sheet provides a convenient place for students to locate the information they need as
they are creating and coding their applications. Appendix E contains Case Projects that can be
assigned after completing specific chapters in the book.
UPDATED VIDEOS These notes direct students to videos that accompany many
chapters in the book. The videos explain and/or demonstrate one or more of the
chapter’s concepts. The videos have been revised from the previous edition and are
available via the optional MindTap for this text.
Instructor Resources
The following teaching tools are available for download at our Instructor Companion Site.
Simply search for this text at sso.cengage.com. An instructor login is required.
INSTRUCTOR’S MANUAL The Instructor’s Manual that accompanies this textbook includes
additional instructional material to assist in class preparation, including items such as Sample
Syllabi, Chapter Outlines, Technical Notes, Lecture Notes, Quick Quizzes, Teaching Tips,
Discussion Topics, and Additional Case Projects.
TEST BANK Cengage Learning Testing Powered by Cognero is a flexible, online system that
allows you to:
•• Author, edit, and manage test bank content from multiple Cengage Learning solutions
•• Create multiple test versions in an instant
•• Deliver tests from your LMS, your classroom or wherever you want
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
xvii
Acknowledgments
POWERPOINT PRESENTATIONS This book offers Microsoft PowerPoint slides for each
chapter. These are included as a teaching aid for classroom presentation, to make available
to students on the network for chapter review, or to be printed for classroom distribution.
Instructors can add their own slides for additional topics they introduce to the class.
SOLUTION FILES Solutions to the chapter applications and the end-of-chapter Review
Questions and Exercises are provided.
DATA FILES Data Files are necessary for completing the computer activities in this book. Data
Files can also be downloaded by students at CengageBrain.com.
MindTap
MindTap is a personalized teaching experience with relevant assignments that guide students to
analyze, apply, and improve thinking, allowing you to measure skills and outcomes with ease.
•• Personalized teaching: Becomes yours with a Learning Path that is built with key student
objectives. Control what students see and when they see it. Use it as-is or match to your
syllabus exactly—hide, rearrange, add, and create your own content.
•• Guide students: A unique learning path of relevant readings, multimedia and activities that
move students up the learning taxonomy from basic knowledge and comprehension to
analysis and application.
•• Promote better outcomes: Empower instructors and motivate students with analytics and
reports that provide a snapshot of class progress, time in course, engagement and completion
rates.
The MindTap for Programming with Microsoft Visual Basic 2017 includes videos, study tools,
and interactive quizzing, all integrated into a full eReader that contains the full content from the
printed text.
Acknowledgments
Writing a book is a team effort rather than an individual one. I would like to take this
opportunity to thank my team, especially Jennifer Feltri-George (Senior Content Project
Manager), Prathiba Rajagopal (Senior Project Manager), Nicole Spoto (Quality Assurance),
Alyssa Pratt (Senior Content Developer), Brianna Vorce (Associate Content Developer),
and the compositors at SPi Global. Thank you for your support, enthusiasm, patience, and
hard work. And a special thank you to all of the past and present reviewers, as well as to
Sally Douglas (College of Central Florida), who suggested the YOU DO IT! boxes several
editions ago.
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
xviii
Technical Information
Data Files
You will need data files to complete the computer activities in this book. Your instructor may
provide the data files to you. You may obtain the files electronically at CengageBrain.com and
then navigating to the page for this book.
Each chapter in this book has its own set of data files, which are stored in a separate folder
within the VB2017 folder. The files for Chapter 1 are stored in the VB2017\Chap01 folder.
Similarly, the files for Chapter 2 are stored in the VB2017\Chap02 folder. Throughout this
book, you will be instructed to open files from or save files to these folders.
You can use a computer in your school lab or your own computer to complete the steps and
Exercises in this book.
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
xix
Technical Information
Figures
The figures in this book reflect how your screen will look if you are using Microsoft Visual
Studio Community 2017 and a Microsoft Windows 10 system. Your screen may appear slightly
different in some instances if you are using another version of either Microsoft Visual Studio or
Microsoft Windows.
To the Instructor
To complete the computer activities in this book, your students must use a set of data files.
These files can be obtained on the Instructor Companion Site or at CengageBrain.com.
The material in this book was written and Quality Assurance tested using Microsoft Visual
Studio Community 2017 on a Microsoft Windows 10 system.
Copyright 2018 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
Another random document with
no related content on Scribd:
sa plaie pour le panser. Le commissaire, le guet, des femmes et autres figures
remplissaient la scène: tout y était plein de feu, de remuement et d’intérêt.
Le tableau n’était que heurté, mais traité avec goût. L’effet en était
singulièrement piquant. Un jour, bien avant que personne fût levé dans la
maison du chirurgien, il le fait poser en place. Le chirurgien voit de sa
fenêtre la foule des passants qui s’arrêtaient devant sa porte, ce qui l’excite à
demander de quoi il est question. Il voit ce plafond. Il fut tenté de se fâcher,
n’y retrouvant plus rien des idées qu’il se souvenait d’avoir confiées à son
peintre, mais les éloges du public pacifièrent un peu son humeur: il ne se
plaignit que très modérément. On juge bien que le tableau fit du bruit; on
s’empressa d’aller en juger. Toute l’Académie connut les talents du jeune
Chardin.» Ce tableau, de neuf ou dix pieds de long, passa de la boutique du
chirurgien dans la collection du graveur Lebas, mais on ne sait pas ce qu’il
est devenu depuis.
Si Chardin débuta par une enseigne, Greuze en fit une lorsqu’il était déjà
en possession de toute sa renommée. Ce fut après la brillante réussite de
l’opéra-comique du Huron, composé par Marmontel et mis en musique par
Grétry. La représentation de cette pièce en deux actes, qui eut lieu à la
Comédie italienne le 20 août 1769, fut un véritable triomphe pour le
musicien et le point de départ de sa réputation musicale. Peu de jours après,
Greuze, qui s’était pris d’amitié pour Grétry, alla le trouver et lui dit: «Viens
avec moi; je veux te faire voir une peinture qui te fera grand plaisir.» Il le
conduisit près de la Comédie italienne et lui indiqua du doigt une enseigne
fraîchement peinte: Au Huron, Nicolle, marchand de tabac. Grétry entra tout
ému dans la boutique et acheta une livre de tabac. «Quel bon tabac!» disait-il
plus tard[297]. On ne sait ce qu’est devenue l’enseigne du Huron.
originale et intéressante par son caractère archaïque, bien que ne remontant pas au
delà du XVIIᵉ siècle? Que sont devenus la Bouteille d’Or, grand bas-relief de la rue de
la
Cité, et le Puits, de la rue Saint-Honoré, tableau peint dans un cadre de sculpture
fleuronnée d’assez bon style; et tant d’autres enseignes curieuses? Pauvres enseignes,
à peine reste-t-il de vous un souvenir!
En renonçant à l’enseigne, on en a conservé cependant le titre, comme une espèce
de raison commerciale, et ce titre est resté en inscription sur la boutique, aussi bien
que sur les factures et les prospectus des marchands. Cette enseigne nominative est
une sérieuse propriété que le commerçant a le droit de défendre vis-à-vis des
contrefacteurs. Aussi la plupart des maisons de commerce en vogue se distinguent-
elles par leurs enseignes nominales, inscrites en grosses lettres au frontispice des
magasins. Le possesseur
titulaire d’une enseigne se montre très jaloux de son droit acquis, lorsque la
concurrence essaye de le lui disputer: de là des procès qui ont souvent donné lieu à
des dommages-intérêts considérables. Quelques-unes de ces enseignes sont devenues
des fiefs, que leurs propriétaires n’échangeraient pas contre des duchés-pairies, s’il en
était encore. C’est à la nouveauté que revient la palme dans ce genre d’illustration: le
Louvre, le Bon Marché, le Printemps, etc., remplissent l’univers de leurs noms,—
c’est-à-dire de leurs enseignes,—et vous pouvez être certain que, pour une femme, ce
grand nom historique: le Louvre, n’éveille plus aujourd’hui l’idée du royal palais ni
du merveilleux musée, mais celle du magasin «le plus vaste du monde». D’autres,
comme Pygmalion, les Statues de Saint-Jacques, le Gagne-Petit, relevés en façade
sur les grandes rues nouvelles, ont ressuscité l’enseigne sculptée, en la faisant
concourir à la décoration générale de la maison; ce sont quelquefois de véritables
œuvres d’art. Le magasin de Pygmalion expose en cariatides, de chaque côté de son
entrée principale, un Pygmalion et une Galathée fort habilement modelés. Les Statues
de Saint-Jacques sont d’anciennes statues, retrouvées sur l’emplacement de Saint-
Jacques de l’Hôpital. Les frères Saint, jouant sur leur nom de famille, ont décoré la
façade de leur magasin de toilerie, rue du Pont-Neuf, des statues fort bien exécutées
des saints patrons des quatre frères. D’autres encore que des magasins de nouveautés
ont également adopté l’enseigne décorative. Le journal le Figaro s’est installé, en
1874, dans un très élégant hôtel qu’il a fait construire, rue Drouot, avec une façade
des plus luxueuses, au milieu de laquelle son patron tient tout naturellement la place
d’honneur, parmi de nombreux ornements présentant partout les armes de la maison,
un F et une plume croisés. La statue, qui est en bronze, est l’œuvre très réussie de
MM. Amy et Boisseau[307]. Enfin, rue des Écoles, on voit, non loin du square Monge,
une maison couverte de sculptures dorées, plus riches que de bon goût, mais
surmontée du buste de l’illustre mathématicien, qui est bien à sa place tout près de
l’École polytechnique, dont il fut l’un des fondateurs. Signalons encore, dans la rue
Bergère, l’ornementation de l’hôtel du Comptoir d’escompte, bâti vers 1880, où
figurent, avec les statues du Commerce et de l’Industrie, des médaillons en mosaïque
sur fond d’or représentant les cinq parties du monde. Mais ce sont là, jusqu’à présent,
des exceptions et nous craignons bien que les enseignes matérielles et décoratives, qui
semblaient être naguère l’accessoire obligé des boutiques, ne reprennent jamais
entièrement possession de leurs antiques prérogatives.
On a cherché, néanmoins, à les remplacer de différentes manières et même à plus
grands frais. On inventa des tableaux mécaniques, qui n’étaient, à vrai dire, que des
enseignes en ronde bosse, compliquées et ingénieuses; mais si ces enseignes
mouvantes avaient le privilège d’attirer beaucoup de spectateurs émerveillés et tenus
en contemplation, ces spectateurs n’étaient que des curieux qui fournissaient bien peu
de chalands. On inventa ensuite les enseignes lumineuses, qui produisirent d’abord
beaucoup d’effet et qui, le soir, encombraient de badauds immobiles les boulevards et
les rues où elles étaient offertes en spectacle aux passants. On n’a pas oublié celles
d’un magasin de toilettes de femme, boulevard Saint-Denis, au coin de la rue du
Faubourg-Saint-Martin: il y a quinze ou vingt ans, dès que la nuit était assez obscure,
les dix fenêtres de l’entresol de ce magasin se changeaient en transparents, où l’on
voyait successivement les portraits en pied de Rachel dans tous ses rôles et dans tous
ses costumes.
On tenta aussi de remettre à la mode un genre d’enseigne vivante, qui avait eu
grand succès, sous le Directoire, lorsqu’on installa aux portes du Jardin turc, sur le
boulevard du Temple, de véritables Turcs, en chair et en os, choisis parmi les plus
beaux hommes qu’on avait pu trouver pour ce rôle fatigant et stationnaire, que les
belles-de-nuit se plaisaient à rendre difficile. On avait tenté depuis un essai analogue,
au Palais-Royal, dans le café des Mille Colonnes, où l’on exhibait à la porte les
monstrueuses nudités de la Vénus hottentote, que l’on peut aller voir en squelette,
dans la salle des monstres humains, au Cabinet d’histoire naturelle du Jardin des
Plantes.
Mais ce qui devait contribuer le plus à la décadence des enseignes, ce furent les
affiches illustrées, qui n’étaient qu’un nouveau procédé de publicité commerciale,
imité des toiles peintes que les bateleurs exposent dans les foires pour attirer les
curieux, par la représentation figurée des animaux rares et extraordinaires qu’on voit
au naturel dans leurs baraques. Ces affiches parlantes, avec des figures dessinées ou
peintes, ont existé dans l’ancienne Rome; on en voit encore quelques-unes à Pompéi,
et ces affiches étaient réellement des enseignes, quand l’image de deux serpents
peints en noir sur une muraille défendait au passant de s’y arrêter pour satisfaire un
besoin naturel. Nous trouvons à chaque pas, dans nos rues, des inscriptions
municipales qui expriment la même défense que les deux serpents de l’antiquité
romaine. Les affiches illustrées, qui n’ont reparu que de nos jours, n’ont pas tardé à
ressusciter l’enseigne à l’état éphémère, mais sans cesse renouvelable avec des
variantes continuelles. Ce n’est plus l’enseigne à demeure, immobilisée au-dessus
d’une boutique: c’est l’enseigne qui se multiplie à l’infini et s’étale à la fois sur tous
les murs de Paris; c’est l’enseigne qui se montre à tout le monde, dans toutes les rues
de la capitale et qui ne disparaît, au bout de quelques jours, que pour reparaître
bientôt sous une nouvelle forme, avec de nouvelles promesses et de nouvelles
couleurs.
On avait d’abord imité, dans ces enseignes murales, les proportions gigantesques
des anciennes enseignes de Paris au XVIIIᵉ siècle, alors qu’on voyait pendre à la
boutique d’un marchand de vin une bouteille grosse comme celles que Rabelais a
mises dans les mains de Gargantua, et à la boutique d’un cordonnier une botte
énorme, telle qu’en portaient les ogres des contes de fées. On aperçoit encore, sur
quelques grands murs nus, qui attendent le moment où ils seront cachés par de hautes
constructions, les derniers échantillons de ces immenses affiches: A la Redingote
grise, avec l’image grandiose de la fameuse redingote du Petit Caporal, c’est un
marchand d’habits; A la Vigne de la Terre promise, avec un cep de vigne chargé de
grappes de raisin qui donneraient chacune de quoi remplir un litre, c’est un marchand
de vin; Au Chapeau rouge, avec le modèle de ce chapeau à larges bords qui coifferait
bien une des statues assises de la place de la Concorde, c’est un chapelier. Cette
bigarrure d’affiches peintes d’une façon presque indélébile, à des hauteurs
prodigieuses, partout où un mur nu leur a permis de se déployer, aurait bientôt fait de