Microsoft Visual Basic 2010 for Windows Applications.pdf
(
36235 KB
)
Pobierz
Copyright 2010 Cengage Learning, Inc. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part
Microsoft
®
Visual Basic 2010
for Windows Applications
Introductory
Gary B. Shelly
Corinne Hoisington
Central Virginia Community College
Australia • Brazil • Japan • Korea • Mexico • Singapore • Spain • United Kingdom • United States
Copyright 2010 Cengage Learning, Inc. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part
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 suppres ed 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.
s
Copyright 2010 Cengage Learning, Inc. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part
Microsoft
®
Visual Basic 2010 for Windows
Applications: Introductory
Gary B. Shelly
Corinne Hoisington
© 2011 Course Technology, Cengage Learning
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,
recording, scanning, digitizing, taping, Web distribution, information networks,
or information storage and retrieval systems, except as permitted under
Section 107 or 108 of the 1976 United States Copyright Act, without the prior
written permission of the publisher.
Vice President, Publisher: Nicole Pinard
Executive Editor: Kathleen McMahon
Product Manager: Crystal Parenteau
Associate Product Manager: Aimee Poirier
Editorial Assistant: Lauren Brody
Director of Marketing: Cheryl Costantini
Marketing Manager: Tristen Kendall
Marketing Coordinator: Stacey Leasca
Print Buyer: Julio Esperas
Production Director: Patty Stephan
Content Project Manager: Heather Hopkins
Development Editor: Lisa Ruffolo
Copyeditor: Michael Beckett
Proofreader: Andrew Therriault
Indexer: Sharon Hilgenberg
QA Manuscript Reviewers: Serge Palladino
and Danielle Shaw
Art Director: Marissa Falco
Cover Designer: Lisa Kuhn, Curio Press, LLC
Cover Photo: Tom Kates Photography
Text Designer: Joel Sadagursky
Compositor: PreMediaGlobal
For product information and technology assistance, contact us at
Cengage Learning Customer & Sales Support, 1-800-354-9706
For permission to use material from this text or product,
submit all requests online at
cengage.com/permissions
Further permissions questions can be emailed to
permissionrequest@cengage.com
Library of Congress Control Number: 2010929659
ISBN-13: 978-0-538-46845-9
ISBN-10: 0-538-46845-9
Course Technology
20 Channel Center Street
Boston, MA 02210
USA
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:
international.cengage.com/region
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
Microsoft is a registered trademark of Microsoft Corporation in the United
States and/or other countries. Course Technology, a part of Cengage Learning,
is an independent entity from the Microsoft Corporation, and not affiliated
with Microsoft in any manner.
Printed in the United States of America
123456716151413121110
Copyright 2010 Cengage Learning, Inc. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part
CONTENTS
Preface
..........................................................................................................vii
CHAPTER 1
INTRODUCTION
..
....................................................................................2
Computer Programmers and Developers
................................................................5
Event-Driven Computer Programs with a Graphical User Interface
..........................5
BASIC PROGRAM OPERATIONS
..........................................................8
Input Operation
................................................................................................8
Output Operation
..............................................................................................9
Basic Arithmetic Operations
..............................................................................10
Logical Operations
..........................................................................................11
Saving Software and Data
................................................................................16
VISUAL BASIC 2010 AND VISUAL STUDIO 2010
..........................16
PROGRAMMING LANGUAGES
............................................................19
Visual Basic
....................................................................................................19
C++
..............................................................................................................19
Visual C#
......................................................................................................20
Visual F#
......................................................................................................20
.NET FRAMEWORK 4.0
..........................................................................20
.NET Class Library
........................................................................................20
ADO.NET 4.0
................................................................................................22
ASP.NET 4.0
................................................................................................23
Microsoft Intermediate Language (MSIL) and Common Language Runtime (CLR) ......
23
TYPES OF VISUAL BASIC 2010 APPLICATIONS
............................25
SUMMARY
................................................................................................25
KNOWLEDGE CHECK
............................................................................26
Introduction to Visual Basic
2010 Programming
CHAPTER 2
INTRODUCTION
.................................................................................... 30
USING VISUAL STUDIO 2010
..............................................................32
Open Visual Studio 2010
..................................................................................32
Create a New Visual Basic 2010 Windows Application Project
................................34
Display the Toolbox
..........................................................................................37
Permanently Display the Toolbox
........................................................................38
View Object Properties
......................................................................................39
Name the Windows Form Object
........................................................................39
Set the Title Bar Text in a Windows Form Object
..................................................42
Resize a Form
................................................................................................44
Add a Label Object
..........................................................................................45
Name the Label Object
......................................................................................47
Change the Text in a Label Object
......................................................................48
Change Label Font, Font Style, and Font Size
......................................................51
Center a Label Object in the Windows Form Object
..............................................53
Delete GUI Objects
..........................................................................................55
Use the Undo Button on the Standard Toolbar
......................................................56
Add a PictureBox Object
..................................................................................56
Name a PictureBox Object
................................................................................58
Resize a PictureBox Object
................................................................................58
Add a Second PictureBox Object
........................................................................60
Make Objects the Same Size
..............................................................................60
Align the PictureBox Objects
..............................................................................62
Center Multiple Objects Horizontally in the Window
............................................64
Program and Graphical
User Interface Design
Copyright 2010 Cengage Learning, Inc. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part
Plik z chomika:
piotrbard
Inne pliki z tego folderu:
Microsoft Excel 2010 In Depth.pdf
(67796 KB)
Microsoft Excel 2010 Tips and Tricks.pdf
(13344 KB)
Microsoft Office 2010 Digital Classroom.pdf
(70710 KB)
Microsoft Press Programming Windows 8 Apps with HTML CSS and JavaScript Nov 2012.pdf
(18385 KB)
Microsoft Visual Basic 2010 for Windows Applications.pdf
(36235 KB)
Inne foldery tego chomika:
2D 3D
Advanced Photoshop Magazine
Audio
Auto Swiat
AutoCAD
Zgłoś jeśli
naruszono regulamin