For courses in Visual Basic .NET Programming.Unique in its approach, this comprehensive introduction to Visual Basic .NET combines the Deitel'„¢ signature Live-Code'„¢ Approach with a new Application-Driven'„¢ methodology in which students build from the ground up real-world applications. As students work through the tutorials, they learn about Visual Basic .NET and its fundamental features. Students begin by learning the basics of programming, and then through each successive tutorial build on previously learned concepts while learning new programming features. Students learn GUI design, controls, methods, data types, control structures, methods, arrays, object-oriented programming, strings, sequential files, as well as higher-end topics such as database processing, multimedia and graphics and Web-based applications development.
Table of Contents
1. Graphing Application.
Introducing Computers, the Internet and Visual Basic .NET.
2. Welcome Application.
Introducing the Visual Studio .NET IDE.
3. Welcome Application.
Introduction to Visual Programming.
4. Designing the Inventory Application.
Introducing TextBoxes and Buttons.
5. Completing the Inventory Application.
6. Enhancing the Inventory Application.
Introducing Variables, Memory Concepts and Arithmetic.
7. Wage Calculator Application.
Introducing Algorithms, Pseudocode and Program Control.
8. Dental Payment Application.
Introducing CheckBoxes and Message Dialogs.
9. Car Payment Calculator Application.
Introducing the Do While...Loop and Do Until...Loop Repetition Statements.
10. Class Average Application.
Introducing the Do...Loop While and Do Loop...Until Repetition Statements.
11. Interest Calculator Application.
Introducing the For...Next Repetition Statement.
12. Security Panel Application.
Introducing the Select Case Multiple-Selection Statement.
13. Enhancing the Wage Calculator Application.
Introducing Function Procedures and Sub Procedures.
14. Shipping Time Application.
Using Dates and Timers.
15. Fund Raiser Application.
Introducing Scope, Pass-by-Reference and Option Strict.
16. Craps Game Application.
Introducing Random-Number Generation.
17. Flag Quiz Application.
Introducing One-Dimensional Arrays and Combo Boxes.
18. Sales Data Application.
Introducing Two-Dimensional Arrays, RadioButtons and the MSChart Control.
19. Microwave Oven Application.
Building Your Own Classes and Objects.
20. Shipping Hub Application.
Introducing Collections, the For Each...Next Statement and Access Keys.
21. “Cat and Mouse” Painter Application.
Introducing the Graphics Object and Mouse Events.
22. Typing Application.
Introducing Keyboard Events, Menus and Dialogs.
23. Screen Scraping Application.
Introducing String Processing.
24. Ticket Information Application.
Introducing Sequential-Access Files.
25. ATM Application.
Introducing Database Programming.
26. CheckWriter Application.
Introducing Graphics and Printing.
27. Phone Book Application.
Introducing Multimedia Using Microsoft Agent.
28. Bookstore Application: Web Applications.
Introducing Internet Information Services.
29. Bookstore Application: Client Tier.
Introducing Web Controls.
30. Bookstore Application: Information Tier.
Examining the Database and Creating Database Components.
31. Bookstore Application: Middle Tier.
Introducing Code-Behind Files.
Appendix A. Operator Precedence Chart. Appendix B. ASCII Character Set. Appendix C. GUI Design Guidelines. Appendix D. Visual Studio .NET Windows Form Designer Tools. Appendix E. Controls, Events, Properties and Methods. Appendix F. Keyword Chart. Appendix G. Internet Information Services (IIS) Setup Instructions.
Welcome to Visual Basic .NET and the world of Windows, Internet and World-Wide-Web programming with Visual Studio and the .NET platform! This book, the first in our newSimplyseries, was a joy to create. Our goal was to write a book that focuses on core concepts and features of Visual Basic .NET while keeping the discussion of this highly technical subject as simple as possible. To achieve these goals, we implemented an innovative teaching methodology. We present the core concepts of leading-edge computing technologies using the tutorial-based, APPLICATION -DRIVEN approach, combined with the DEITEL signature LIVE-CO/DE approach of teaching programming using complete, working, real-world applications. We merged the notion of a lab manual with that of a conventional textbook, creating a book that is best used by students sitting at computers and building each example application as they read the tutorials. As students work through the tutorials, they learn about Visual Basic .NET and its fundamental features, such as visual programming concepts, graphical-user-interface (GUI) components, multimedia (audio, images, animation and video), file processing, database processing and Internet and World-Wide-Web-based client/server networking. At the end of most sections, we provide self-review questions with answers so that students receive immediate feedback on their understanding of the material. Hundreds of additional self-review questions with answers are available on this book's Companion Web Site. Features in Simply Visual Basic. NET This book is loaded with pedagogic features, including: APPLICATION-DRIVEN Tutorial Approach.Each tutorial uses a contemporary, real-world application to teach programming concepts. The examples and exercises are up-to-the-minute with Internet/Web-related examples and with popular applications, such as ATMs, game playing, graphics, multimedia and even a 3-tier Web-based bookstore. Most examples have a business focus. At the beginning of each tutorial, students "test-drive" the completed application so they can see how it works. Then they build the application by following our step-by-step instructions. The book concentrates on the principles of good software engineering and stresses program clarity. LIVE-CODE Approach.This book is loaded with LIVE-CODE examples. Each tutorial ends with the complete, working program code and the students can run the application that they just created. We call this method of teaching and writing theLIVE-CoDE Approach.We feel that this approach is more effective than presenting only snippets of code out of the context of a complete program. Real-World Technologies.This text incorporates today's technologies to develop useful applications. For example, we use the Unified Modeling Language (UML) to replace flowcharts--an older standard. The UML has become the preferred graphical modeling language for designing object-oriented applications. InSimply Visual Basic.NET,we use UML to show the flow of control for several applications, so students gain practice reading the type of diagrams that are used in industry. Visual Programming and Graphical User Interface (GUI).From the first tutorial, we immerse students in visual programming techniques and modifying Visual Basic .NET GUIs. Students who learn these techniques can create graphical programs more quickly and easily. The early tutorials provide students with a foundation for designing GUIs--concepts that they will apply throughout the book as we teach core programming concepts. Many tutorials contain GUI Design Tips that are summarized at the end of the tutori