小牛电子书 > 其他电子书 > VB2008从入门到精通(PDF格式英文版) >

第1章

VB2008从入门到精通(PDF格式英文版)-第1章

小说: VB2008从入门到精通(PDF格式英文版) 字数: 每页3500字

按键盘上方向键 ← 或 → 可快速上下翻页,按键盘上的 Enter 键可回到本书目录页,按键盘上方向键 ↑ 可回到本页顶部!
————未阅读完?加入书签已便下次继续阅读!




?…………………………………………………………Page 1……………………………………………………………

                (R) 

The eXperT’s Voice  in  



Beginning 



VB 2008 



From Novice to Professional 



Christian Gross 


…………………………………………………………Page 2……………………………………………………………


…………………………………………………………Page 3……………………………………………………………

Beginning VB 2008 



From Novice to Professional 



■ ■ ■ 



Christian Gross 


…………………………………………………………Page 4……………………………………………………………

Beginning VB 2008: From Novice to Professional 



Copyright (c) 2008 by Christian Gross 



All rights reserved。 No part of this work may be reproduced or transmitted in any form or by any means;  

electronic or mechanical; including photocopying; recording; or by any information storage or retrieval  

system; without the prior written permission of the copyright owner and the publisher。 



ISBN…13 (pbk): 978…1…59059…938…9 



ISBN…10 (pbk): 1…59059…938…1 



ISBN…13 (electronic): 978…1…4302…0542…5 



ISBN…10 (electronic): 1…4302…0542…3 



Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 



Trademarked names may appear in this book。 Rather than use a trademark symbol with every occurrence  

of a trademarked name; we use the names only in an editorial fashion and to the benefit of the trademark  

owner; with no intention of infringement of the trademark。 



Lead Editor: Matthew Moodie 

Technical Reviewer: Andy Olsen 

Editorial Board: Clay Andres; Steve Anglin; Ewan Buckingham; Tony Campbell; Gary Cornell;  

    Jonathan Gennick; Kevin Goff; Matthew Moodie; Joseph Ottinger; Jeffrey Pepper; Frank Pohlmann;  

    Ben Renow…Clarke; Dominic Shakeshaft; Matt Wade; Tom Welsh 

Project Manager: Sofia Marchant 

Copy Editor: Marilyn Smith 

Associate Production Director: Kari Brooks…Copony 

Production Editor: Laura Esterman 

positor: Susan Glinert Stevens 

Proofreader: Nancy Riddiough 

Indexer: Broccoli Information Management 

Artist: Kinetic Publishing Services; LLC 

Cover Designer: Kurt Krames 

Manufacturing Director: Tom Debolski 



Distributed to the book trade worldwide by Springer…Verlag New York; Inc。; 233 Spring Street; 6th Floor;  

New York; NY 10013。 Phone 1…800…SPRINGER; fax 201…348…4505; e…mail orders…ny@springer…sbm。; or  

visit  http://springeronline。。  



For information on translations; please contact Apress directly at 2855 Telegraph Avenue; Suite 600;  

Berkeley; CA 94705。 Phone 510…549…5930; fax 510…549…5939; e…mail info@apress。; or visit http:// 

apress。。  



Apress and friends of ED books may be purchased in bulk for academic; corporate; or promotional use。  

eBook versions and licenses are also available for most titles。 For more information; reference our Special  

Bulk Sales–eBook Licensing web page at http://apress。/info/bulksales。 



The information in this book is distributed on an “as is” basis; without warranty。 Although every precaution  

has been taken in the preparation of this work; neither the author(s) nor Apress shall have any liability to  

any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly  

by the information contained in this work。  



The source code for this book is available to readers at http://apress。。  


…………………………………………………………Page 5……………………………………………………………

                Some food for thought when writing software: 



   “A mon mistake that people make when trying to design something  

  pletely foolproof is to underestimate the ingenuity of plete fools。” 



“The major difference between a thing that might go wrong and a thing that  

cannot possibly go wrong is that when a thing that cannot possibly go wrong  

     goes wrong it usually turns out to be impossible to get at or repair。” 



                     —Douglas Adams; Mostly Harmless 


…………………………………………………………Page 6……………………………………………………………


…………………………………………………………Page 7……………………………………………………………

Contents at a Glance 



About the Author 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。  xv 

About the Technical Reviewer 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。  xvii 

Introduction  。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 xix 



■CHAPTER 1                 Ready; Steady; Go!   。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 1 



■CHAPTER 2                 Learning About  Number and Value Types   。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 25 



■CHAPTER 3                 Learning About String Manipulations   。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 51 



■CHAPTER 4                 Learning About Data Structures; Decisions; and Loops  。 。 。 。 。 。 。 。 。 77 



■CHAPTER 5                 Learning About Visual Basic Exception Handling  。 。 。 。 。 。 。 。 。 。 。 。 。 。 115 



■CHAPTER 6                 Learning the Basics of Object…Oriented Programming  。 。 。 。 。 。 。 。 。 135 



■CHAPTER 7                 Learning About ponents and Class Hierarchies  。 。 。 。 。 。 。 。 。 。 。 163 



■CHAPTER 8                 Learning About ponent…Oriented Architecture  。 。 。 。 。 。 。 。 。 。 。 。 197 



■CHAPTER 9                 Learning About Lists; Delegates; and Lambda Expressions    。 。 。 229 



■CHAPTER 10                Learning About Persistence  。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 249 



■CHAPTER 11                Learning About  Generics  。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 285 



■CHAPTER 12                Learning About Application Configuration and  

                               Dynamic Loading   。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 313 



■CHAPTER 13                Learning About Multithreading   。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 341 



■CHAPTER 14                Learning About Relational Database Data  。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 371 



■CHAPTER 15                Learning About LINQ 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 395 



■CHAPTER 16                Learning About Other Visual Basic Techniques   。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 417 



■INDEX  。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 433 



                                                                                                                                          v 


…………………………………………………………Page 8……………………………………………………………


…………………………………………………………Page 9……………………………………………………………

 Contents 



About the Author 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。  xv 

About the Technical Reviewer 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。  xvii 

Introduction  。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 xix 



■CHAPTER 1                      Ready; Steady; Go! 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 1 



                                Downloading and Installing the Tools 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 1 

                                        Downloading Visual Basic Express 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 2 

                                        Installing Visual Basic Express  。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 3 

                               Choosing the Application Type  。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 3 

                               Creating Projects and Solutions   。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。

返回目录 下一页 回到顶部 2 2

你可能喜欢的