SKIP THE SHIPPING
Use code NOSHIP during checkout to save 40% on eligible eBooks, now through January 5. Shop now.
Register your product to gain access to bonus material or receive a coupon.
Provides readers with up-to-date coverage of topics such as multi-tier Web-based application development using Web forms and Web services, data manipulation using the Extensible Markup Language (XML), object-oriented programming including implementation inheritance, multithreading, exception handling, database manipulation using ADO+, graphics programming with GDI+ and accessibility.
Helps readers better interpret the code.
Enables students to confirm that programs run as expected. Students can also manipulate the code from the CD-ROM in the back of the book or from the book's Companion Website (www.prenhall.com/deitel) or from the author's website (www.deitel.com).
Provides hundreds of valuable programming tips and facilitates learning.
Students can apply what they've learned in each chapter.
Provides extra hands-on experience and study aids for a minimal additional cost. Includes many hours of detailed, expert audio walkthroughs of the book's hundreds of live-code examples; post-assessment exams with hundreds of short answer questions (all with answers); hundreds of self-review exercises drawn from the text (half with answers); hundreds of programming exercises from the main text (these exercises don't have answers in the main text, but half of these exercises have answers in The Complete Training Course); hundreds of tips that are marked with icons and show how to write Visual Basic code that's portable, reusable, and optimized for performance; and full-text searching and hyperlinking.
Each How to Program text can be ordered as a Complete Training Coursepackage, containing the main text and the corresponding Cyber Classroom—an interactive, multimedia, tutorial version of the book. The Complete Training Coursesare a great value, giving students additional hands-on experience and study aids for a minimal additional cost.
Each Complete Training Course is compatible with Windows 95, Windows 98, Windows NT and Windows 2000 and includes the following features:
Practice exams that offer students hundreds of short answer test questions and answers.
Hundreds of self-review questions that are drawn from the text, all with answers.
Hundreds of programming exercises that are drawn from the text, half with answers (the main text does not provide any answers to these exercises).
We offer the Complete Training Courses in either CD-ROM or Web-based format. When professors order the Web-based version of a Complete Training Course, their students receive the corresponding How to Programbook packaged with a URL and password that gives then six months of access to the Cyber Classroom software via the Web.
If your customer has already received Visual Basic .NET How to Program, Second Edition, please sample only the Visual Basic .NET Multimedia Cyber Classroom CD-ROM to show them the advantages they would get with The Complete Training Course.Please do not sample The Complete Training Courseas they will receive a duplicate copy of the main text.
The authoritative DEITEL LIVE-CODE introduction to Windows®, .NET, Internet and World Wide Web programming in Visual Basic® .NET
This exciting new Second Edition of the Deitels' best-selling Visual Basic textbook carefully explains how to use Visual Basic .NETa premier language in Microsoft's new .NET initiativeas a general-purpose programming language and how to program multi-tier, client/server, database-intensive, Internet- and Web-based .NET applications.
Dr. Harvey M. Deitel and Paul J. Deitel are the founders of Deitel & Associates, Inc., the internationally-recognized corporate-training and content-creation organization specializing in Visual Basic® .NET, C#, Visual C++® .NET, Java, C++, C, XML, Python, Perl; Internet, Web, wireless, e-business and object technologies. The Deitels are the authors of several worldwide #1 programming-language textbooks, including Java How to Program, 4/e, C++ How to Program, 3/e and Internet & World Wide Web How to Program, 2/e.
In Visual Basic .NET How to Program, 2/e, the Deitels and their colleague, Tem. R. Nieto, discuss topics you need to build complete .NET, Web-based applications, including:
Visual Basic .NET How to Program, 2/e includes extensive pedagogic features:
Visual Basic .NET How to Program, 2/e is the centerpiece of a complete family of resources for teaching and learning Visual Basic .NET, including several Web sites (www.deitel.com and www.prenhall.com/deitel) with the book's source-code examples (which are also on the enclosed CD) and other information for faculty, students and professionals; an optional interactive CD (Visual Basic .NET Multimedia Cyber Classroom, 2/e) containing hyperlinks, solutions to half the book's exercises and audio walkthroughs of the book's code examples; and e-mail access to the authors at:
deitel@deitel.com
For information on worldwide Deitel on-site seminars and to subscribe to the Deitel Buzz e-mail newsletter, visit:
www.deitel.com
(NOTE: Each chapter begins with an Introduction.)
1. Introduction to Computers, Internet, World Wide Web and Visual Basic .NET.
What Is a Computer? Computer Organization. Evolution of Operating Systems. Personal Computing. Distributed Computing and Client/Server Computing. Machine Languages, Assembly Languages and High-Level Languages. Visual Basic .NET. C, C++, Java™ and C#. Other High-Level Languages. Structured Programming. Key Software Trend: Object Technology. Hardware Trends. History of the Internet and World Wide Web. World Wide Web Consortium (W3C). Extensible Markup Language (XML). Introduction to Microsoft .NET. .NET Framework and the Common Language Runtime. Tour of the Book. Internet and World Wide Web Resources.
Overview of the Visual Studio .NET IDE. Menu Bar and Toolbar. Visual Studio .NET IDE Windows. Using Help. Simple Program: Displaying Text and an Image. Internet and World Wide Web Resources.
Simple Program: Printing a Line of Text. Another Simple Program: Adding Integers. Memory Concepts Arithmetic. Decision Making Equality and Relational Operators. Using a Dialog to Display a Message. Internet and World Wide Web Resources.
Algorithms. Pseudocode. Control Structures. If/Then Selection Structure. If/Then/Else Section Structures. While Repetition Structure. Do While/Loop Repetition Structure. Do/Loop Repetition Structure. Assignment Operators. Formulating Algorithms: Case Study 1 (Counter-Controlled Repetition). Formulating Algorithms with Top-Town, Stepwise Refinement: Case Study 2 (Sentinel-Controlled Repetition). Formulating Algorithms with Town-Down, Stepwise Refinement: Case Study 3 (Nested Control Structures). Formulating Algorithms with Town-Down, Stepwise Refinement: Case Study 4 (Nested Repetition Structures). Introduction to Widows Application Programming.
Essentials of Counter-Controlled Repetition. For/Next Repetition Structure. Examples Using the For/Next Structure. Selecting Case Multiple- Selection Structure. Do/Loop While Repetition Structure. Do/Loop Until Repetition Structure. Logical Operators. Structured Programming Summary.
Modules, Classes and Procedures. Sub Procedures. Function Procedures. Methods. Argument Promotion. Option Strict and Data-Type Conversions. Value Types and Reference Types. Passing Arguments: Pass-by-Value vs. Pass-by-Reference. Duration of Identifiers. Scope Rules. Random-Number Generation. Example: Game of Chance. Recursion. Example Using Recursion: Fibonacci Series. Recursion vs. Iteration. Procedure Overloading and Optional Arguments. Modules.
Arrays. Declaring and Allocating Arrays. Examples Using Arrays. Passing Arrays to Procedures. Passing Arrays: ByVal vs. ByRef. Sorting Arrays. Searching Arrays: Linear Search and Binary Search. Multidimensional Rectangular and Jagged Arrays. Variable-Length Parameter Lists. For Each/Next Repetition Structure.
Implementing a Time Abstract Data Type with Class. Class Scope. Controlling Access to Members. Initializing Class Objects: Constructors. Using Overloaded Constructors. Properties. Composition: Objects as Instance Variables of Other Classes. Using the Me Reference. Garbage Collection. Shared Class Members. Const and ReadOnly Members. Data Abstraction and Information Hiding. Software Reusability Namespaces and Assemblies. Class View and Object Browser.
Base Classes and Derived Classes. Protected and Friend Members. Relationship between Base Classes and Derived Classes. Case Study: Three-Level Inheritance Hierarchy. Constructors and Finalizers in Derived Classes. Software Engineering with Inheritance.
Derived-Class-Object to Base-Class-Object Conversion. Type Fields and Select Case Statements. Polymorphism Examples. Abstract Classes and Methods. Case Study: Inheriting Interface and Implementation. Mon Inheritable Classes and NotOverridable Methods. Case Study: Payroll System Using Polymorphism. Case Study: Creating and Using Interfaces. Delegates.
Exception Handling Overview. Example: DivideByZeroException. Net Exception Hierarchy. Final Block. Exception Properties. Programmer-Defined Exception Classes. Handling Overflows.
Windows Forms. Event-Handling Model. Control Properties and Layout. Labels, Textboxes, and Buttons. PictureBoxes. Mouse-Event Handling. Keyboard-Event Handling.
Menus. LinkLabels. ListBoxes, and CheckedListBoxes. ComboBoxes. TreeViews. ListViews. Tab Control. Multiple-Document-Interface (MDI) Windows. Visual Inheritance. User-Defined Controls.
Thread States: Life Cycle of a thread. Thread Priorities and Thread Scheduling. Thread Synchronization and Class Monitor. Producer/Consumer Relationship without Thread Synchronization. Producer/Consumer Relationship with Thread Synchronization. Producer Consumer Relationship: Circular Buffer.
fundamentals of Characters and Strings. Strings Constructors. String Length and Chars Properties, and CopyTo Method. Comparing Strings. String Method GetHashCode. Locating Characters and Substrings in Strings. extracting Substrings from Strings. Concatenating Strings. Miscellaneous String Methods. Class StringBuilder. StringBuilder Indexer, Length and Capacity Properties, and EnsureCapacity Methods. StringBuilder Insert, Remove and Replace Methods.
Graphics Contexts and Graphics Objects. Color Control. Front Control. Drawing Lines, Rectangles and Ovals. Drawing Arcs. Drawing Polygons and Polylines. Advanced Graphics Capabilities. Introduction to Multimedia. Loading, Displaying and Scaling Images. Animating a Series of Images. Windows Media Player. Microsoft Agent.
data Hierarchy. Files and Streams. Classes Files and Directory. Creating a Sequential-Access File. Reading Data from a Sequential-Access File. Random-Access File. Writing Data Randomly to a Random-Access File. Case Study: A Transaction-Processing Program.
XML Documents. XML Namespaces. Document Object Model (DOM). Document type Definitions (DTDs) Schemes and Validation. Extensible Stylesheet Language and XlsTransform. Microsoft BizTalk™. Internet and World Wide Web Resources.
Relational Database Model. Relational Database Overview: Books Database. ADO .NET Object Model. Programming with ADO .NET: Extracting Information from a DBMS. Programming with ADO .NET: Modifying a DBMS. Reading and Writing XML Files.
Simple HTTP Transaction. System Architecture. Creating and Running a Simple Web-Form Example. Web Controls. Session Tracking. Case Study: Online Guest book. Case Study: Connecting to a Database in ASP .NET. Tracing Internet and World Wide Web Resources.
Simple HTP Transaction. System Architecture. Creating and Running a Simple Web-Form Example. Session Tracking. Case Study: Online Guest book. Case Study: Connecting to a Database in ASP .NET. Tracing Internet and World Wide Web Resources.
Web Services. Simple Object Access Protocol (SOAP) and Web Services. Publishing and Consuming Web Services. Session Tracking in Web Services. Using Web Forms and Web Services. Case Study: Temperature Information Application. User-Defined Types in Web Services. Internet and World Wide Web Resources.
Establishing a Simple Server (Using Stream Sockets). Establishing a Simple Client (Using Stream Sockets). Client/Serve Interaction via Stream-Socket Connections. Connectionless Client/Server Interaction via Datagrams. Client/Serve Tic-Tac-Toe Using a Multithreaded Server.
Self-Referential Classes. Linked Lists. Stacks. Queues. Collection Classes. Linked Lists. Stacks. Queues. Trees. Collection Classes.
Regulations and Resources. Web Accessibility Initiative. Providing Alternatives for Images. Maximizing Readability by Focusing on Structure. Accessibility in Visual Studio .NET. Accessibility in Visual Basic. Accessibility in XHTML Tables. Accessibility in XHTML Frames. Accessibility in XML. Using Voice Synthesis and Recognition with VoiceXML™. CallXML™. JAWS® for Windows. Other
abbreviating Binary Numbers as Octal Numbers and Hexadecimal Numbers. Converting Octal Numbers and Hexadecimal Numbers to Binary Numbers. Converting from Binary, Octal or Hexadecimal to Decimal. Converting from Decimal to Binary, Octal or Hexadecimal. Negative Binary umbers: Two's Complement Notation.
Resources for the Job Seeker. Online Opportunities for Employers. Recruiting Services. Internet and World Wide Web Resources.
Breakpoints. Examining Data. Program Control. Additional Procedure Debugging Capabilities. Additional Class Debugging Capabilities.
Unicode Transformation Formats. Characters and Glyphs. Advantages/Disadvantages of Unicode. Unicode Consortium's Web Site. Using Unicode. Character Ranges.
ActiveX Integration. DLL Integration. Internet and World Wide Web Resources. CHAPTER = Appendix H. Introduction to HyperText Markup Language 4: Part 1 (on CD).
Markup Languages. Editing HTML. Common Elements. Headers. Linking. Images. Special Characters and More Line Breaks. Unordered Lists. Nested and Ordered Lists. Internet and World Wide Web Resources.
Basic HTML Tables. Intermediate HTML Tables and Formatting. Basic HTML Tables. Basic HTML Forms. More Complex HTML Forms. Internal Linking. Creating and Using Image Maps. meta Tags. frameset Element. Nested framesets. Internet and World Wide Web Resources.
editing XHTML. First XHTML Example W3C XHTML Validation Service. Headers. Linking. Images. Special Characters and More Line Breaks. Unordered Lists. Nested and Ordered Lists. Internet and World Wide Web Resources.
Crystal Reports Web Site Resources. Crystal Reports and Visual Studio .NET.
Live in fragments no longer. Only connect.
Edward Morgan Forster
We wove a web in childhood,
A web of sunny air.
Charlotte Brontë
Welcome to Visual Basic .NET and the exciting world of Windows, Internet and World-Wide-Web programming with Visual Studio and the .NET platform! This book is the first in our new .NET How to Program series, which presents various leading-edge computing technologies in the context of the .NET platform.
Visual Basic .NET provides the features that are most important to programmers, such as object-oriented programming, strings, graphics, graphical-user-interface (GUI) components, exception handling, multithreading, multimedia (audio, images, animation and video), file processing, prepackaged data structures, database processing, Internet and World-Wide-Web-based client/server networking and distributed computing. The language is appropriate for implementing Internet-based and World-Wide-Web-based applications that seamlessly integrate with PC-based applications. Visual Basic .NET is the next phase in the evolution of Visual Basic, the world's most popular programming language.
The .NET platform offers powerful capabilities for software development and deployment, including independence from a specific language or platform. Rather than requiring developers to learn a new programming language, programmers can contribute to the same software project, but write code using any (or several) of the .NET languages (such as Visual Basic .NET, Visual C++ .NET, C# and others) with which they are most competent. In addition to providing language independence, .NET extends program portability by enabling .NET applications to reside on, and communicate across, multiple platformsthus facilitating the delivery of Web services over the Internet. .NET enables Web-based applications to be distributed to consumer-electronic devices, such as cell phones and personal digital assistants, as well as to desktop computers. The capabilities that Microsoft has incorporated into the .NET platform create a new software-development paradigm that will increase programmer productivity and decrease development time.
This edition contains many new features and enhancements, including:
Students Enjoy Learning a Leading-Edge Language
Dr. Harvey M. Deitel taught introductory programming courses in universities for 20 years with an emphasis on developing clearly written, well-designed programs. Much of what is taught in these courses represents the basic principles of programming, concentrating on the effective use of data types, control structures, arrays and functions. Our experience has been that students handle the material. in this book in about the same way that they handle other introductory and intermediate programming courses. There is one noticeable difference, though: Students are highly motivated by the fact that they are learning a leading-edge language, Visual Basic .NET, and a leading-edge programming paradigm (object-oriented programming) that will be immediately useful to them as they enter a business world in which the Internet and the World Wide Web have a massive prominence. This increases their enthusiasm for the materialwhich is essential when you consider that there is much more to learn in a Visual Basic .NET course now that students must master both the base language and substantial class libraries as well. Although Visual Basic .NET is a significant departure from Visual Basic 6.0, forcing programmers to revamp their skills, programmers will be motivated to do so because of the powerful range of capabilities that Microsoft is offering in its .NET initiative.
A World of Object Orientation
When we wrote the first edition of Visual Basic 6 How to Program, universities were still emphasizing procedural programming. The leading-edge courses were using object-oriented C++, but these courses generally mixed a substantial amount of procedural programming with object-oriented programmingsomething that C++ lets programmers do. Many instructors now are emphasizing a pure object-oriented programming approach. This bookthe second edition of Visual Basic .NET How to Program and the first text in our .NET seriestakes a predominantly object-oriented approach because of the enhanced object orientation provided in Visual Basic .NET.
Focus of the Book
Our goal was clear: Produce a Visual Basic.NET textbook for introductory university-level courses in computer programming aimed at students with little or no programming experience, yet offer the depth and the rigorous treatment of theory and practice demanded by both professionals and students in traditional, upper-level programming courses. To meet these objectives, we produced a comprehensive book that patiently teaches the principles of computer programming and of the Visual Basic .NET language, including control structures, object-oriented programming, Visual Basic .NET class libraries, graphical-user-interface concepts, event-driven programming and more. After mastering the material in this book, students will be well-prepared to program in Visual Basic .NET and to employ the capabilities of the .NET platform.
Multimedia-Intensive Communications
People want to communicate. Sure, they have been communicating since the dawn of civilization, but the potential for information exchange has increased dramatically with the evolution of various technologies. Until recently, even computer communications were limited mostly to digits, alphabetic characters and special characters. The current wave of communication technology involves the distribution of multimediapeople enjoy using applications that transmit color pictures, animations, voices, audio clips and even full-motion color video over the Internet. At some point, we will insist on three-dimensional, moving-image transmission.
There have been predictions that the Internet will eventually replace radio and television as we know them today. Similarly, it is not hard to imagine newspapers, magazines and books delivered to "the palm of your hand" (or even to special eyeglasses) via wireless communications. Many newspapers and magazines already offer Web-based versions, and some of these services have spread to the wireless world. When cellular phones were first introduced, they were large and cumbersome. Today, they are small devices that fit in our pockets, and many are Internet-enabled. Given the current rate of advancement, wireless technology soon could offer enhanced streaming-video and graphics-packed services, such as video conference calls, and high-power, multi-player video games.
Teaching Approach
Visual Basic .NET How to Program, Second Edition contains a rich collection of examples, exercises and projects drawn from many fields and designed to provide students with a chance to solve interesting, real-world problems. The book concentrates on the principles of good software engineering, and stressing program clarity. We are educators who teach edge-of-the-practice topics in industry classrooms worldwide. We avoid arcane terminology and syntax specifications in favor of teaching by example. Our code examples have been tested on Windows 2000 and Windows XP. The text emphasizes good pedagogy.
LIVE-CODE Teaching Approach
Visual Basic.NET How to Program, Second Edition is loaded with numerous LIVE-CODE examples. This style exemplifies the way we teach and write about programming, as well as being the focus of our multimedia Cyber Classrooms and Web-based training courses. Each new concept is presented in the context of a complete, working example that is immediately followed by one or more windows showing the program's input/output dialog. We call this method of teaching and writing the LIVE-CODE Approach. We use programming languages to teach programming languages. Reading the examples in the text is much like entering and running them on a computer.
World Wide Web Access
All of the examples for Visual Basic .NET How to Program, Second Edition (and our other publications) are available on the Internet as downloads from the following Web sites:
Registration is quick and easy and these downloads are free. We suggest downloading all the examples, then running each program as you read the corresponding text. Making changes to the examples and immediately see the effects of those changesa great way to learn programming. Each set of instructions assumes that the user is running Windows 2000 or Windows XP and is using Microsoft's Internet Information Services (IIS). Additional setup instructions for Web servers and other software can be found at our Web sites along with the examples. Note: This is copyrighted material. Feel free to use it as you study, but you may not republish any portion of it in any form without explicit permission from Prentice Hall and the authors.
Additionally, Visual Studio .NET, which includes Visual Basic .NET, can be purchased and downloaded from Microsoft. Three different version of Visual Studio .NET are availableEnterprise, Professional and Academic. Visit developerstore.com/devstore/ for more details and to order. If you are a member of the Microsoft Developer Network, visit msdn.microsoft.com/default.asp.
Objectives
Each chapter begins with objectives that inform students of what to expect and give them an opportunity, after reading the chapter, to determine whether they have met the intended goals. The objectives serve as confidence builders and as a source of positive reinforcement.
Quotations
The chapter objectives are followed by sets of quotations. Some are humorous, some are philosophical and some offer interesting insights. We have found that students enjoy relating the quotations to the chapter material. Many of the quotations are worth a "second look" after you read each chapter.
Outline
The chapter outline enables students to approach the material in top-down fashion. Along with the chapter objectives, the outline helps students anticipate future topics and set a comfortable and effective learning pace.
21,300 Lines of Code in 193 Example Programs (with Program Outputs)
We present Visual Basic .NET features in the context of complete, working Visual Basic .NET programs. The programs range in size from just a few lines of code to substantial examples containing several hundred lines of code. All examples are available on the CD that accompanies the book or as downloads from our Web site, www.deitel.com.
689 Illustrations/Figures
An abundance of charts, line drawings and program outputs is included. The discussion of control structures, for example, features carefully drawn flowcharts. Note: We do not teach flowcharting as a program-development tool, but we do use a brief, flowchart-oriented presentation to explain the precise operation of each Visual Basic .NET control structure.
458 Programming Tips
We have included programming tips to help students focus on important aspects of program development. We highlight hundreds of these tips in the form of Good Programming Practices, Common Programming Errors, Testing and Debugging Tips, Performance Tips, Portability Tips, Software Engineering Observations and Look-and-Feel Observations.
These tips and practices represent the best the authors have gleaned from a combined seven decades of programming and teaching experience. One of our studentsa mathematics majortold us that she feels this approach is like the highlighting of axioms, theorems and corollaries in mathematics books; it provides a foundation on which to build good software.
Summary (1313 Summary bullets)
Each chapter ends with additional pedagogical devices. We present a thorough, bullet-list-style summary of the chapter. On average, there are 41 summary bullets per chapter. This helps the students review and reinforce key concepts.
Terminology (2980 Terms)
We include in a Terminology section an alphabetized list of the important terms defined in the chapter. Again, this serves as further reinforcement. On average, there are 93 terms per chapter. Each term also appears in the index, so the student can locate terms and definitions quickly.
654 Self-Review Exercises and Answers (Count Includes Separate Parts)
Extensive self-review exercises and answers are included for self-study. These questions and answers give the student a chance to build confidence with the material and prepare for the regular exercises. Students should be encouraged to attempt all the self-review exercises and check their answers.
364 Exercises (Solutions in Instructor's Manual; Count Includes Separate Parts)
Each chapter concludes with a substantial set of exercises that involve simple recall of important terminology and concepts; writing individual Visual Basic .NET statements; writing small portions of Visual Basic .NET methods and classes; writing complete Visual Basic .NET methods, classes and applications; and writing major projects. These exercises cover a wide variety of topics, enabling instructors to tailor their courses to the unique needs of their audiences and to vary course assignments each semester. Instructors can use the exercises to form homework assignments, short quizzes and major examinations. The solutions for the exercises are included in the Instructor's Manual and on the disks available only to instructors through their Prentice-Hall representatives. NOTE: Please do not write to us requesting the instructor's manual. Distribution of this publication is strictly limited to college professors teaching from the book. Instructors may obtain the solutions manual from their regular Prentice Hall representatives. We regret that we cannot provide the solutions to professionals. Solutions to approximately half the exercises are included on the Visual Basic. NET Multimedia Cyber Classroom, Second Edition CD-ROM (available in April 2002 at www.InformIT.com/cyberclassrooms; also see the last few pages of this book or visit www.deitel.com for ordering instructions). Also available in April 2002 is the boxed product, The Complete Visual Basic. NET Training Course, Second Edition, which includes both our textbook, Visual Basic .NET How to Program, Second Edition and the Visual Basic.NET Multimedia Cyber Classroom, Second Edition. All of our Complete Training Course products are available at bookstores and online booksellers, including www.InformIT.com.
Approximately 5,400 Index Entries (with approximately 6,750 Page References)
We have included an extensive Index at the back of the book. Using this resource, students can search for any term or concept by keyword. The Index is especially useful to practicing programmers who use the book as a reference. Each of the 2,980 terms in the Terminology sections appears in the Index (along with many more index items from each chapter). Students can use the index in conjunction with the Terminology sections to ensure that they have covered the key material in each chapter.
"Double Indexing" of All Visual Basic.NET LIVE-CODE Examples
Visual Basic .NET How to Program, Second Edition has 193 LIVE-CODE examples and 364 exercises (including parts). Many of the exercises are challenging problems or projects requiring substantial effort. We have "double indexed" each of the LIVE-CODE examples and most of the more challenging exercises. For every Visual Basic .NET source-code program in the book, we took the file name with the .vb extension, such as ChessGame.vb, and indexed it both alphabetically (in this case, under "C") and as a subindex item under "Examples." This makes it easier to find examples using particular features.
We have prepared an interactive, CD-ROM-based, software version of Visual Basic .NET How to Program, Second Edition called the Visual Basic .NET Multimedia Cyber Classroom, Second Edition. This resource is loaded with e-Learning features that are ideal for both learning and reference. The Cyber Classroom is packaged with the textbook at a discount in The Complete Visual Basic.NET Training Course, Second Edition. If you already have the book and would like to purchase the Visual Basic.NET Multimedia Cyber Classroom, Second Edition separately, please visit www.InformIT.com/cyberclassrooms. The ISBN number for the Visual Basic .NET Multimedia Cyber Classroom, Second Edition, is 0-13-065193-1. All Deitel Cyber Classrooms are available in CD-ROM and Web-based training formats.
The CD provides an introduction in which the authors overview the Cyber Classroom's features. The textbook's 193 LIVE-CODE® example Visual Basic .NET programs truly "come alive" in the Cyber Classroom. If you are viewing a program and want to execute it, you simply click the lightning-bolt icon, and the program will run. You immediately will seeand hear, when working with audio-based multimedia programsthe program's outputs. If you want to modify a program and see the effects of your changes, simply click the floppy-disk icon that causes the source code to be "lifted off' the CD and "dropped into" one of your own directories so you can edit the text, recompile the program and try out your new version. Click the audio icon, and one of the authors will discuss the program and "walk you through" the code.
The Cyber Classroom also provides navigational aids, including extensive hyperlinking. The Cyber Classroom is browser based, so it remembers sections that you have visited recently and allows you to move forward or backward among these sections. The thousands of index entries are hyperlinked to their text occurrences. Furthermore, when you key in a term using the "find" feature, the Cyber Classroom will locate occurrences of that term throughout the text. The Table of Contents entries are "hot," so clicking a chapter name takes you immediately to that chapter.
Students like the fact that solutions to approximately half the exercises in the book are included with the Cyber Classroom. Studying and running these extra programs is a great way for students to enhance their learning experience.
Students and professional users of our Cyber Classrooms tell us that they like the interactivity and that the Cyber Classroom is an effective reference due to its extensive hyperlinking and other navigational features. We received an email from a person who said that he lives "in the boonies" and cannot take a live course at a university, so the Cyber Classroom provided an ideal solution to his educational needs.
Professors tell us that their students enjoy using the Cyber Classroom and spend more time on the courses and master more of the material than in textbook-only courses. For a complete list of the available and forthcoming Cyber Classrooms and Complete Training Courses, see the Deitel® Series page at the beginning of this book, the product listing and ordering information at the end of this book or visit www.deitel.com, www.prenhall.com/deitel and www.InformIT.com/deitel.
e-Books and Support for Wireless Devices
Wireless devices will play an enormous role in the future of the Internet. Given recent bandwidth enhancements and the emergence of 2.5 and 3G technologies, it is projected that, within two years, more people will access the Internet through wireless devices than through desktop computers. Deitel & Associates, Inc., is committed to wireless accessibility and has recently published Wireless Internet & Mobile Business How to Program. To fulfill the needs of a wide range of customers, we currently are developing our content both in traditional print formats and in newly developed electronic formats, such as e-books so that students and professors can access content virtually anytime, anywhere. Visit www.deitel.com for periodic updates on this initiative.
e-Matter
Deitel & Associates, Inc., is partnering with Prentice Hall's parent company, Pearson PLC, and its information technology Web site, www.InformIT.com, to launch the Deitel e-Matter series at www.InformIT.com/deitel. This series will provide professors, students and professionals with an additional source of information on specific programming topics. e-Matter consists of stand-alone sections taken from published texts, forthcoming texts or pieces written during the Deitel research-and-development process. Developing e-Matter based on pre-publication books allows us to offer significant amounts of the material to early adopters for use in courses. Some possible Visual Basic .NET e-Matter titles we are considering include Object-Based Programming and Object-Oriented Programming in Visual Basic.NET; Graphical User Interface Programming in Visual Basic.NET; Multithreading in Visual Basic .NET; ASP .NET and Web Forms: A Visual Basic .NET View; and ASP .NET and Web Services: A Visual Basic.NET View.
Course Management Systems: WebCT, Blackboard, and CourseCompass
We are working with Prentice Hall to integrate our How to Program Series courseware into three Course Management Systems: WebCT, Blackboard and CourseCompass. These Course Management Systems enable instructors to create, manage and use sophisticated Web-based educational programs. Course Management System features include course customization (such as posting contact information, policies, syllabi, announcements, assignments, grades, performance evaluations and progress tracking), class and student management tools, a gradebook, reporting tools, communication tools (such as chat rooms), a whiteboard, document sharing, bulletin boards and more. Instructors can use these products to communicate with their students, create online quizzes and tests from questions directly linked to the text and automatically grade and track test results. For more information about these upcoming products, visit www.deitel.com/whatsnew.html. For demonstrations of existing WebCT, Blackboard and CourseCompass courses, visit http://cms.prenhall.com/webct/index.html, http://cms.prenhall.com/blackboard/index.html, and http://cms.prenhall.com/coursecompass/index.html respectively.
Deitel Column in the InformIT Newsletters
Deitel & Associates, Inc., contributes a weekly column to the popular InformIT newsletter, currently subscribed to by more than 800,000 IT professionals worldwide. For opt-in registration, visit www.InformIT.com
Deitel Newsletter
Our own free, opt-in newsletter includes commentary on industry trends and developments, links to articles and resources from our published books and upcoming publications, information on future publications, product-release schedules and more. For opt-in registration, visit www.deitel.com.
Deitel & Associates, Inc., is making a major commitment to .NET programming through the launch of our.NET Series. Visual Basic.NET How to Program, Second Edition and C# .NET How to Program are the first books in this new series. We intend to follow these books with Advanced Visual Basic.NET How to Program and Advanced C#.NET How to Program, which will be published in December 2002. We also plan to publish Visual C++ .NET How to Program in July 2002, followed by Advanced Visual C++ .NET How to Program in July 2003.
Visual Basic. NET How to Program, Second Edition covers introductory through intermediate-level Visual Basic .NET programming topics, as well as core programming fundamentals. By contrast, our upcoming textbook Advanced Visual Basic .NET How to Program will be geared toward experienced Visual Basic .NET developers. This new book will cover enterprise-level programming topics, including: Creating multi-tier, database intensive ASP.NET applications using ADO.NET and XML; constructing custom Windows controls; developing custom Web controls; and building Windows services. The book also will include more in-depth explanations of object-oriented programming (with the UML), ADO.NET, XML Web services, wireless programming and security. Advanced Visual Basic.NET How to Program will be published in December 2002.