Skip to main content

Visual Basic .NET Programming

Visual Basic .NET Programming

Harold Davis

ISBN: 978-0-782-14038-5

May 2002

516 pages

Select type: Paperback

Product not available for purchase

Description

With the introduction of Visual Basic .NET, VB is now a complete object-oriented language, letting programmers access the full power of the Windows platform while enabling them to build reliable and robust web solutions.

It doesn't matter if you're new to programming or just to VB.NET, Visual Basic .NET Programming gets you up and running with the new version and offers a comprehensive introduction to Windows and web application development. From language fundamentals to ADO.NET, XML, and Web Services, Harold Davis's thoughtful approach emphasizes meaningful tasks that tie in with VB.NET's principal strengths. For example, you'll learn to build a Web Service, implement XML support, and use object-oriented techniques—without getting mired in theory but also without sacrificing the understanding you need to apply your skills in new situations.

Much of the book is devoted to Windows application development, covering new ways to program standard elements, as well as emphasizing Visual Basic's new programming features. Want to build a desktop program with an oval interface? Want to create robust class libraries, components, and controls? Implement printing as a program feature? Start and stop a service? Every chapter provides solid examples that will help you learn the language and, more importantly, create effective applications with it.

Introduction xxi

Chapter 1: Understanding Visual Basic .NET 1

Chapter 2: Introducing Projects, Forms, and Buttons 21

Chapter 3: Building a User Interface 51

Chapter 4: Working with Windows Form Properties 85

Chapter 5: Events and the Life Cycle of Forms 113

Chapter 6: Working with Form Methods and Modules 129

Chapter 7: Working with Windows Forms Controls 159

Chapter 8: Adding StatusBars, ToolBars, ToolTips, and Tabbed Dialogs 193

Chapter 9: Working with Common Dialogs 209

Chapter 10: Using Timers, EventLogs, and ServiceControllers 229

Chapter 11: Creating Menus 251

Chapter 12: Printing from an Application 275

Chapter 13: Errors, Exceptions, and Debugging 285

Chapter 14: Using the Object Browser 313

Chapter 15: Object-Oriented Programming in VB .NET 325

Chapter 16: Creating Windows Controls 357

Chapter 17: Working with Data and ADO.NET 373

Chapter 18: Working with XML 399

Chapter 19: Building ASP.NET Web Applications 421

Chapter 20: Deploying Applications 453

Appendix A: Using VB .NET’s Help System 473

Appendix B: Migrating Applications from VB6 to VB .NET 481

Appendix C: Key Syntax Differences Between VB6 and VB .NET 487

Appendix D: VB .NET Keywords 491

Appendix E: Selected VB .NET Namespaces and Classes 493

Index 497

Download All Code Used in the Book Download