Visual Basic 2005 Jumpstart

Wei-Meng Lee

  • 出版商: O'Reilly
  • 出版日期: 2005-09-01
  • 售價: $670
  • 貴賓價: 9.5$637
  • 語言: 英文
  • 頁數: 216
  • 裝訂: Paperback
  • ISBN: 059610071X
  • ISBN-13: 9780596100711
  • 相關分類: Visual Basic
  • 已過版




Okay, all you VB6 developers--time's up. As of March 2005, Microsoft no longer supports this version of Visual Basic. And you can't blame them. Three years ago, they introduced the .NET Framework--an elegant, powerful platform--along with the new component-based VB.NET language. But roughly five million of you decided to stick with VB6, mostly to maintain legacy Windows and COM projects.

Now, with the upcoming release of VB 2005, Microsoft has several attractive reasons to upgrade that you'll find hard to resist, including the return of some VB6 features. And we have the perfect book to help you make the conversion: Visual Basic 2005 Jumpstart. Now, you can test-drive the beta version of VB 2005 with three hands-on projects that enable you to learn the syntax of this new language quickly.

VB 2005 not only lets you convert the bulk of your existing VB6 code, but offers several familiar features, such as compile-and-run debugging, new MyClasses that simplify use of .NET libraries and frameworks, lots of IDE support for Windows, web and mobile GUI development, and data access controls that closely resemble what you use now. The real plus is that you'll be using these features with the .NET platform, which is more secure, less complex than COM, and offers OneClick deployment.

Visual Basic 2005 Jumpstart lets you get the feel of this platform for building smart/rich Windows Forms clients, ASP.NET web applications, and web services. Author Wei-Meng Lee, a Microsoft .NET MVP, veteran O'Reilly author and frequent contributor to the O'Reilly Network, has put together three useful test-drive projects, complete with code samples, that let you develop:

  • A personal library Windows application
  • A Web-based shopping cart application
  • A stock enquiry Web Service

Our jumpstart guide is the quick, painless way to migrate from VB6 to VB 2005, and the perfect training manual for moving your organization to the more robust, dynamic and secure world of .NET.


Table of Contents:



1. Introducing Visual Basic 2005

     Create the Application and Its Main Window

     Add a Menu and Toolbar

     Connect to a Database and Browse Records

     Create an Exit Dialog Box

     Handle Exit and Close Events

     Run and Debug the Application

     Inspect an Object at Runtime

     Add an About Box

     Configure the Application


2. Programming with Visual Basic

     Data Types





     Type Conversion



     Functions and Subroutines


     My Namespace


3. Putting Object-Oriented Programming to Work

     Working with Classes and Objects

     Reusing and Customizing Classes

     Designing Your Own Classes

     Controlling How Classes Are Implemented


4. Developing a Windows Application

     Creating the Windows Application and Building the Main Window

     Viewing Book Information Offline

     Deploying the Application

     Automatic Updating


5. Building Web Applications

     Building the Storefront

     Creating a Shopping Cart

     Members Area

     Testing the Application


6. Moving from VB 6 to VB 2005

     Migrate, Replace, Rewrite, or Reuse?

     Using COM Objects in VB 2005

     Upgrading VB 6 Applications