| | Copyright |
| | About the Authors |
| | Acknowledgments |
| | Tell Us What You Think! |
| | Introduction |
| | | Who Should Read This Book |
| | | How This Book Is Organized |
| | | Source Code and Programs Used in This Book |
| | | Conventions and Special Elements Used in This Book |
| | | System Suggestions for Visual Basic .NET |
|
| | Part I: Getting Started with Visual Basic .NET |
| | | Chapter 1. Introduction to Visual Basic .NET |
| | | Understanding Programming and Visual Basic's Role |
| | | The Importance of Application Design |
| | | Tips for a Good Design |
| | | Big Changes in Visual Basic .NET |
| | | From Here . . . |
|
| | | Chapter 2. Creating Your First Windows Application |
| | | Setting Up a New Windows Project |
| | | Designing the User Interface |
| | | Coding Your Program's Actions |
| | | Running Your Program |
| | | From Here… |
|
| | | Chapter 3. Creating Your First Web Application |
| | | Getting Started with Web Applications |
| | | Creating the Sample Web Application |
| | | Enhancing Your Web Application |
| | | Troubleshooting Web Applications |
|
| | | Chapter 4. Understanding the Development Environment |
| | | Getting Started |
| | | The Visual Studio .NET Work Area |
| | | Customizing the Development Environment |
| | | Troubleshooting |
|
| | | Chapter 5. Visual Basic Building Blocks |
| | | Terminology You Must Know |
| | | Understanding Namespaces |
| | | Error Handling |
| | | Introduction to Debugging |
| | | From Here . . . |
|
|
| | Part II: Visual Basic Programming Fundamentals |
| | | Chapter 6. Storing Information in Variables |
| | | Declaring and Naming Variables |
| | | Understanding Data Types |
| | | Working with Numeric Data Types |
| | | Using Math Operations |
| | | Using Date and Time Values |
| | | Working with Strings |
| | | Using Arrays |
| | | Understanding Regional Settings |
|
| | | Chapter 7. Controlling the Flow of Your Program |
| | | Understanding If Statements |
| | | Using Select Case |
| | | Structuring Your Code Logically |
| | | Working with Loops |
| | | Exercise: The Pop-Up Eliminator |
| | | From Here . . . |
|
| | | Chapter 8. Managing Program Tasks with Procedures |
| | | Procedures Defined |
| | | Working with Sub Procedures |
| | | Working with Function Procedures |
| | | Reusing Functions and Procedures |
| | | From Here… |
|
| | | Chapter 9. Creating Code Components |
| | | Understanding Classes |
| | | Building a Class |
| | | Using a New Class in an Application |
| | | Using Remoting to Work with Distributed Objects |
| | | From Here… |
|
|
| | Part III: Building Windows Applications |
| | | Chapter 10. Understanding Windows Forms |
| | | Changing the Look of Your Forms |
| | | Adding Menus to Your Forms |
| | | Working with Multiple Forms |
| | | From Here . . . |
|
| | | Chapter 11. Fundamental Controls |
| | | Introduction to Controls |
| | | Basic Controls |
| | | Controls for Making Choices |
| | | From Here… |
|
| | | Chapter 12. Advanced Controls |
| | | Automatically Controlling a Control's Size and Position |
| | | Specialized Date Input Controls |
| | | Other Specialized Controls |
| | | From Here… |
|
| | | Chapter 13. Using Dialog Boxes |
| | | Using Message Boxes to Keep the User Informed |
| | | Using Input Boxes to Get Information from the User |
| | | Using the Dialog Controls |
| | | Creating Your Own Dialog Boxes |
| | | From Here . . . |
|
| | | Chapter 14. Designing an Effective User Interface |
| | | Designing Effective Forms |
| | | User PC Differences |
| | | Dealing with User Expectations |
| | | Using Graphics |
| | | Working with Text and Fonts |
| | | From Here . . . |
|
| | | Chapter 15. Multiple Document Interface (MDI) Applications |
| | | Overview of MDI Applications |
| | | Creating the Parent Form for the Sample Application |
| | | Creating the Child Form Template |
| | | Displaying a New Child Form |
| | | Opening an Existing Document |
| | | Child Window Management |
| | | Saving Files |
| | | Adding a Print Function |
| | | Summarizing the Code |
| | | From Here… |
|
| | | Chapter 16. Creating Your Own Windows Controls |
| | | Windows Control Basics |
| | | Creating a Windows Control |
| | | Testing the Control |
| | | Adding Your Custom Controls to Other Projects |
| | | Enhancing a Windows Control |
| | | From Here . . . |
|
|
| | Part IV: Working with the Web |
| | | Chapter 17. Using Active Server Pages.NET |
| | | Understanding Web Communication |
| | | Using HTML with ASP.NET |
| | | Bringing Dynamic Content to the Web |
| | | Creating ASP.NET Pages |
| | | Using ASP.NET's Built-In Classes |
| | | Exercise: Creating a Web Photo Album |
| | | From Here… |
|
| | | Chapter 18. Web Applications and Services |
| | | Understanding the Web Forms Programming Model |
| | | Writing Code Behind a Web Form |
| | | Managing Your Web Application Project |
| | | Sharing Functionality with Web Services |
| | | From Here. . . |
|
| | | Chapter 19. Web Controls |
| | | Using ASP.NET Server Controls |
| | | Validating User Input |
| | | Working with Lists and Grids |
| | | Special-Purpose Web Controls |
| | | From Here… |
|
|
| | Part V: Visual Basic and Databases |
| | | Chapter 20. Database Basics |
| | | Understanding Databases |
| | | Designing a Database |
| | | Introducing the Structured Query Language |
| | | Using the SELECT Statement |
| | | Using SQL Action Statements |
| | | Using DDL Statements |
| | | Storing SQL Statements in the Database |
| | | Troubleshooting Hints |
|
| | | Chapter 21. ActiveX Data Objects (ADO) |
| | | Using the ADO Objects |
| | | Using Disconnected Recordsets |
| | | Exercise: Displaying a Recordset in a DataGrid |
|
| | | Chapter 22. Using ADO.NET (ADO) |
| | | Data and Your Application |
| | | Executing Database Commands |
| | | Understanding DataSets |
| | | Building a Reusable Data Access Layer |
|
| | | Chapter 23. Creating and Using Reports |
| | | Printing with Windows Forms |
| | | Using Crystal Reports |
| | | From Here… |
|
|
| | Part VI: Advanced Programming Topics |
| | | Chapter 24. Working with Files |
| | | Manipulating the File System Using VB |
| | | Working with File Streams |
| | | Parsing XML Files |
| | | Accessing the Registry |
| | | Traditional Visual Basic File Functions |
| | | Questions: Using Files |
|
| | | Chapter 25. Interacting with Other Applications |
| | | Remote-Controlling Microsoft Excel |
| | | Remote Controlling Microsoft Word |
| | | Using the SmtpMail Class to Add E-mail Functionality to an Application |
| | | From Here… |
|
| | | Chapter 26. Debugging and Performance Tuning |
| | | Working with Exceptions in Visual Studio |
| | | Writing Code to Handle Exceptions |
| | | Monitoring Application Performance |
| | | Measuring Execution Time |
| | | Exercise: Using Performance Counters |
|
| | | Chapter 27. Writing a Pocket PC Application |
| | | Installing eMbedded Visual Basic |
| | | Creating the Sample Application |
| | | Synchronizing Application Data |
| | | From Here . . . |
|
|
| | Appendix A. Packaging Your Applications |
| | | Creating an Installer |
| | | Using the Setup Project Wizard to Create a Setup Project for a Windows Application |
| | | Setting Options for the Setup Package |
| | | Customizing the User's File System |
| | | Building the Setup Project |
| | | Deploying the MSI Installer Package |
|
| | Appendix B. Tips on Conversion from VB6 |
| | | Why the Visual Basic Language Has Changed |
| | | Changes to the Language |
| | | Changes to Controls |
| | | Converting an Existing VB6 Project to Visual Basic .NET |
|