Home > Store

Special Edition Using Visual Basic.NET

Register your product to gain access to bonus material or receive a coupon.

Special Edition Using Visual Basic.NET

eBook (Adobe DRM)

  • Sorry, this book is no longer in print.
  • About Adobe DRM eBooks
  • This eBook requires the free Adobe® Digital Editions software.

    Before downloading this DRM-encrypted PDF, be sure to:

    • Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.
    • Authorize your copy of Adobe Digital Editions using your Adobe ID (select AdobeID as the eBook vendor). If you don't already have an Adobe ID, you can create one here.
Not for Sale


  • Copyright 2002
  • Dimensions: 7-3/8" x 9-1/8"
  • Edition: 1st
  • eBook (Adobe DRM)
  • ISBN-10: 0-7686-5509-9
  • ISBN-13: 978-0-7686-5509-4

Microsoft's .NET initiative created drastic changes in the Visual Studio line of products, and as a result a lot of Visual Basic developers feel like they are beginners all over again. Special Edition Using Visual Basic.NET will offer in-depth explorations of new features so that both experienced programmers and novices will feel comfortable making the transition to .NET. Although a major portion of the book is devoted to Internet applications, the book covers more general topics than many other books. Features of Visual Basic that will be explained include database access, controls, and best coding and practices. These features will be explored in detail, with extensive use of example programs and screen captures.

Sample Content

Table of Contents


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.


 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.

 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.

 3: Creating Your First Web Application.

Getting Started with Web Applications. Creating the Sample Web Application. Enhancing Your Web Application. Troubleshooting Web Applications.

 4: Understanding the Development Environment.

Getting Started. The Visual Studio .Net Work Area. Customizing the Development Environment. Troubleshooting.

 5: Visual Basic Building Blocks.

Terminology You mUst Know. Understanding Namespaces. Error Handling. Introduction to Debugging. From Here.


 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.

 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.

 8: Managing Program Tasks with Procedures.

Procedures Defined. Working with Sub Procedures. Working with Function Procedures. Reusing Functions and Procedures. From Here.

 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.


10: Understanding Windows Forms.

Changing the Look of Your Forms. Adding Menus to Your Forms. Working with Multiple Forms. From Here.

11: Fundamental Controls.

Introduction to Controls. Basic Controls. Controls for Making Choices. From Here.

12: Advanced Controls.

Automatically Controlling a Control's. Size and Position. Specialized Date Input Controls. Other Specialized Controls. From Here.

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.

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.

15: Multiple Document Interface 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.

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.


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.

18: Web Applications and Services.

Writing Code Behind a Web Form. Managing Your Web Application Project. Sharing Functionality with Web Services. From Here.

19: Web Controls.

Using ASP.NET Server Controls. Validating User Input. Working with Lists and Grids. Special-Purpose Web Controls. From Here.


20: Database Basics.

Understanding Databases. Designing a Database. Introducing the Structured Query Language. Using a SELECT Statement. Using SQL Action Statements. Using DDL Statements. Storing SQL Statements in the Database. Troubleshooting Hints.

21: ActiveX Data Objects (ADO).

Using the ADO Objects. Using Disconnected Recordsets. Exercise: Displaying a Recordset in a DataGrid.

22: Using ADO.NET.

Data and Your Application. Executing Database Commands. Understanding DataSets. Building a Reusable Data Access Layer.

23: Creating and Using Reports.

Printing with Windows Forms. Using Crystal Reports. From Here.


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.

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.

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.

27: Writing a Pocket PC Application.

Installing aMbedded Visual Basic. Creating the Sample Application. Synchronizing Application Data. From Here.


Appendix A: Packaging Your Applications. @@AHEADS = 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.



Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership