0% found this document useful (0 votes)
100 views10 pages

Visual Basic 2012 How to Program (6th Edition)

Download Visual Basic 2012 How to Program (6th Edition) PDF.

Uploaded by

madeehaanees90
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
100 views10 pages

Visual Basic 2012 How to Program (6th Edition)

Download Visual Basic 2012 How to Program (6th Edition) PDF.

Uploaded by

madeehaanees90
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

This Book is Available on YakiBooki.

com

https://www.yakibooki.com/download/visual-basic-2012-how-to-program-6th-edition/
This Book is Available on YakiBooki.com
This Book is Available on YakiBooki.com

Deitel® Series Page


How To Program Series Simply Visual Basic 2010: An App-Driven
Android How to Program Approach, 4/E
C How to Program, 7/E Visual Basic® 2012 How to Program
C++ How to Program, 9/E Visual Basic® 2010 How to Program
C++ How to Program, Late Objects Version, 7/E Visual C#® 2012 How to Program, 5/E
Java™ How to Program, 9/E Visual C#® 2010 How to Program, 4/E
Java™ How to Program, Late Objects Version, 8/E
Internet & World Wide Web How to Program, 5/E Deitel® Developer Series
Visual Basic® 2012 How to Program C++ for Programmers, 2/E
Visual C#® 2012 How to Program, 5/E Android for Programmers: An App-Driven
Visual C++® 2008 How to Program, 2/E Approach
Small Java™ How to Program, 6/E C# 2010 for Programmers, 3/E
Small C++ How to Program, 5/E Dive Into® iOS 6: An App-Driven Approach
iOS 6 for Programmers: An App-Driven Approach
Simply Series Java™ for Programmers, 2/E
Simply C++: An App-Driven Tutorial Approach JavaScript for Programmers
Simply Java™ Programming: An App-Driven
Tutorial Approach LiveLessons Video Learning Products
Simply Visual Basic® 2010, 4/E: An App-Driven www.deitel.com/books/LiveLessons/
Tutorial Approach Android® App Development Fundamentals
C++ Fundamentals
CourseSmart Web Books C# Fundamentals
www.deitel.com/books/CourseSmart/ iOS 6 App Development Fundamentals
C++ How to Program, 7/E, 8/E & 9/E Java™ Fundamentals
Simply C++: An App-Driven Tutorial Approach JavaScript Fundamentals
Java™ How to Program, 7/E, 8/E & 9/E Visual Basic® Fundamentals

To receive updates on Deitel publications, Resource Centers, training courses, partner offers and
more, please register for the free Deitel ® Buzz Online e-mail newsletter at:
www.deitel.com/newsletter/subscribe.html
and join the Deitel communities on Twitter®
@deitel
Facebook®
facebook.com/DeitelFan
and Google+
gplus.to/deitel
To communicate with the authors, send e-mail to:
deitel@deitel.com
For information on government and corporate Dive-Into® Series on-site seminars offered by Deitel
& Associates, Inc. worldwide, visit:
www.deitel.com/training/
or write to
deitel@deitel.com
For continuing updates on Prentice Hall/Deitel publications visit:
www.deitel.com
www.pearsonhighered.com/deitel/

Visit the Deitel Resource Centers that will help you master programming languages, software devel-
opment, Android and iPhone/iPad app development, and Internet- and web-related topics:
www.deitel.com/ResourceCenters.html
This Book is Available on YakiBooki.com

Paul Deitel
Deitel & Associates, Inc.
Abbey Deitel
Deitel & Associates, Inc.
Harvey Deitel
Deitel & Associates, Inc.
This Book is Available on YakiBooki.com

Vice President and Editorial Director: Marcia J. Horton


Executive Editor: Tracy Johnson
Associate Editor: Carole Snyder
Director of Marketing: Christy Lesko
Marketing Manager: Yezan Alayan
Marketing Assistant: Jon Bryant
Director of Production: Erin Gregg
Managing Editor: Scott Disanno
Associate Managing Editor: Robert Engelhardt
Operations Specialist: Lisa McDowell
Art Director: Anthony Gemmellaro
Cover Design: Abbey S. Deitel, Harvey M. Deitel, Anthony Gemmellaro
Cover Photo Credit: © Shutterstock/Pati Photo
Media Project Manager: Renata Butera

Credits and acknowledgments borrowed from other sources and reproduced, with permission, in this textbook appear
on page vi.
The authors and publisher of this book have used their best efforts in preparing this book. These efforts include the
development, research, and testing of the theories and programs to determine their effectiveness. The authors and pub-
lisher make no warranty of any kind, expressed or implied, with regard to these programs or to the documentation
contained in this book. The authors and publisher shall not be liable in any event for incidental or consequential dam-
ages in connection with, or arising out of, the furnishing, performance, or use of these programs.
Copyright © 2014, 2011, 2009 Pearson Education, Inc., publishing as Prentice Hall. All rights reserved. Manufac-
tured in the United States of America. This publication is protected by Copyright, and permission should be obtained
from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or
by any means, electronic, mechanical, photocopying, recording, or likewise. To obtain permission(s) to use material
from this work, please submit a written request to Pearson Education, Inc., One Lake Street, Upper Saddle River, New
Jersey 07458, or you may fax your request to 201-236-3290.
Many of the designations by manufacturers and sellers to distinguish their products are claimed as trademarks. Where
those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been
printed in initial caps or all caps.
Microsoft and/or its respective suppliers make no representations about the suitability of the information contained in
the documents and related graphics published as part of the services for any purpose. All such documents and related
graphics are provided “as is” without warranty of any kind. Microsoft and/or its respective suppliers hereby disclaim
all warranties and conditions with regard to this information, including all warranties and conditions of merchant-
ability, whether express, implied or statutory, fitness for a particular purpose, title and non-infringement. In no event
shall Microsoft and/or its respective suppliers be liable for any special, indirect or consequential damages or any dam-
ages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious
action, arising out of or in connection with the use or performance of information available from the services.
The documents and related graphics contained herein could include technical inaccuracies or typographical errors.
Changes are periodically added to the information herein. Microsoft and/or its respective suppliers may make improve-
ments and/or changes in the product(s) and/or the program(s) described herein at any time. Partial screen shots may
be viewed in full within the software version specified.

Library of Congress Cataloging-in-Publication Data on file.

10 9 8 7 6 5 4 3 2 1
ISBN-10: 0-13-340695-4
ISBN-13: 978-0-13-340695-5
This Book is Available on YakiBooki.com

To the Microsoft Visual Basic Language Team


Paul, Abbey and Harvey Deitel
This Book is Available on YakiBooki.com

Trademarks
DEITEL, the double-thumbs-up bug and DIVE INTO are registered trademarks of Deitel and Associates,
Inc.
Microsoft® and Windows® are registered trademarks of the Microsoft Corporation in the U.S.A. and
other countries. This book is not sponsored or endorsed by or affiliated with the Microsoft Corporation.
UNIX is a registered trademark of The Open Group.

Throughout this book, trademarks are used. Rather than put a trademark symbol in every occurrence of
a trademarked name, we state that we are using the names in an editorial fashion only and to the benefit
of the trademark owner, with no intention of infringement of the trademark.
vbhtp6TOCbrief.fm Page vii Monday, February 11, 2013 9:40 AM
This Book is Available on YakiBooki.com

Brief Contents
Chapters 16–31 are PDF documents posted online at the book’s Companion Website
(located at www.pearsonhighered.com/deitel/).

Preface xix
Before You Begin xxix
1 Introduction to Computers, the Internet and
Visual Basic 1
2 Dive Into® Visual Studio Express 2012 for
Windows Desktop 26
3 Introduction to Visual Basic Programming 59
4 Introduction to Problem Solving and
Control Statements 101
5 Problem Solving and Control Statements:
Part 2 146
6 Methods 188
7 Arrays 238
8 Files 286
9 Object-Oriented Programming:
Classes and Objects 312
10 Object-Oriented Programming:
Inheritance and Polymorphism 352
11 Introduction to LINQ 382
12 Databases and LINQ 399
13 Web App Development with ASP.NET 446
14 Windows Forms GUI: A Deeper Look 498
15 Graphics and Multimedia 554
This Book is Available on YakiBooki.com

viii Brief Contents

Online Chapters 597


A Operator Precedence Chart 598
B Primitive Types 600
C Number Systems 601
D ASCII Character Set 613
E Unicode® 614
F Creating Console Applications 625
Index 629

Companion Website Online Content


Chapters 16–31 and Appendix F are PDF documents posted online at the book’s Com-
panion Website (located at www.pearsonhighered.com/deitel).
16 Exception Handling: A Deeper Look 16-1
17 Strings and Characters: A Deeper Look 17-1
18 Files and Streams: A Deeper Look 18-1
19 XML and LINQ to XML 19-1
20 Windows 8 UI 20-1
21 Windows 8 Graphics and Multimedia 21-1
22 Windows Phone 8 Case Study 22-1
23 Introduction to Concurrency:
Async and Await 23-1
24 Web App Development with ASP.NET:
A Deeper Look 24-1
25 Web Services 25-1
26 Windows Azure™ Cloud Computing Case Study 26-1
27 Windows Presentation Foundation (WPF) GUI 27-1
28 WPF Graphics and Multimedia 28-1
29 Data Structures and Generic Collections 29-1
30 ATM Case Study, Part 1:
Object-Oriented Design with the UML 30-1
31 ATM Case Study, Part 2:
Implementing an Object-Oriented Design 31-1
This Book is Available on YakiBooki.com

Contents
Chapters 16–31 are PDF documents posted online at the book’s Companion Website
(located at www.pearsonhighered.com/deitel/).

Preface xvii
Before You Begin xxxi
1 Introduction to Computers, the Internet and
Visual Basic 1
1.1 Introduction 2
1.2 Hardware and Moore’s Law 2
1.3 Data Hierarchy 3
1.4 Computer Organization 5
1.5 Machine Languages, Assembly Languages and High-Level Languages 7
1.6 Object Technology 8
1.7 Internet and World Wide Web 10
1.8 Visual Basic 11
1.8.1 Object-Oriented Programming 12
1.8.2 Event-Driven Programming 12
1.8.3 Visual Programming 12
1.8.4 Internet and Web Programming 13
1.8.5 Other Key Contemporary Programming Languages 13
1.9 Microsoft’s .NET 14
1.9.1 .NET Framework 14
1.9.2 Common Language Runtime 14
1.10 Microsoft’s Windows® Operating System 14
1.11 Windows Phone 8 for Smartphones 16
1.11.1 Selling Your Apps in the Windows Phone Marketplace 16
1.11.2 Free vs. Paid Apps 16
1.11.3 Testing Your Windows Phone Apps 17
1.12 Windows Azure™ and Cloud Computing 17
1.13 Visual Studio Integrated Development Environment 17
1.14 Test-Driving the Visual Basic Advanced Painter App in Visual Studio 2012 18

2 Dive Into® Visual Studio Express 2012 for


Windows Desktop 26
2.1 Introduction 27

You might also like