Skip to main content

Professional VB 2005

Professional VB 2005

Bill Evjen, Billy Hollis, Rockford Lhotka, Tim McCarthy, Rama Ramachandran, Kent Sharkey, Bill Sheldon

ISBN: 978-0-764-57536-5

Nov 2005

1104 pages

Select type: Paperback

Product not available for purchase


  • Visual Basic .NET has changed dramatically from its predecessor, and this book shows developers how to build traditional console applications, ASP.NET applications, XML Web Services, and more
  • The top-notch author team shares their years of experience in VB programming and helps readers take their skills to new heights
  • Addresses issues such as security, data access (ADO.NET), and the latest Visual Studio .NET IDE
  • Explores Common Language Runtime, variables and data types, object syntax, inheritance and interfaces, Windows forms, error handling and debugging, XML, namespaces, and advanced features of the latest version of ASP.NET

Chapter 1: What Is Microsoft .NET?

Chapter 2: Introducing Visual Basic 2005 and Visual Studio 2005.

Chapter 3: Variables and Type.

Chapter 4: Object Syntax Introduction.

Chapter 5: Inheritance and Interfaces.

Chapter 6: The Common Language Runtime.

Chapter 7: Applying Objects and Components.

Chapter 8: Generics.

Chapter 9: Namespaces.

Chapter 10: Exception Handling and Debugging.

Chapter 11: Data Access with ADO.NET 2.0.

Chapter 12: Using XML in Visual Basic 2005.

Chapter 13: Security in the .NET Framework 2.0.

Chapter 14: Windows Forms.

Chapter 15: Windows Forms Advanced Features.

Chapter 16: Building Web Applications.

Chapter 17: ASP.NET 2.0 Advanced Features.

Chapter 18: Assemblies.

Chapter 19: Deployment.

Chapter 20: Working with Classic COM and Interfaces.

Chapter 21: Enterprise Services.

Chapter 22: Threading.

Chapter 23: XML Web Services.

Chapter 24: Remoting.

Chapter 25: Windows Services.

Chapter 26: Network Programming.

Chapter 27: Visual Basic and the Internet.

Appendix A: The Visual Basic Compiler.

Appendix B: Visual Basic Resources.


Code Downloads
Code downloads for this title are available here.
Code Downloads
Code downloads for this title are available here.
Code Downloads
Code downloads for this title are available here.
Code Downloads
Code downloads for this title are available here.
Screenshot - Figure 3-4
This is the screenshot for Figure 3-4 as a full-color JPG file.
Download Corrected figures 14-14 to 14-22
Download Updated Code for Chapter 4
The code examples for this title are stored in a ZIP archive. To open it, you will need a computer with software capable of opening ZIP files. If you do not already have this capability, you can download a free trial of WinZip.
Corrected Chapter 11 Code
This error is due to the fact that the code was written in the Beta version of VB.NET 2005. Until the time of releasing the final version of VB.NET, Microsoft had changed many classes. Due to this the code gives errors when run on the final release of VB.NET 2005. This download contains the corrected code.
Code for Chapters 14 and 15
Missing Chapter 22 code files
You will find the missing Chapter 22 code in this ZIP download.
ChapterPageDetailsDatePrint Run
Code Replacement / Errata Download,Code Replacement for this title can be found at:,descCd-download_code.html
4Updated Chapter 4 Files,Download updated Source files for Chapter 4 from the download section.3/10/06
25Error in Text,Next to last sentence:
Compile tab

should be:
31Error in Text,Line 6:

should be:
34Error in Text,Under the heading 'Adding a Control and Event Handler', the first line:

The button you've dragged...
Should be:
Drag a button control from the toolbox on to the form. The button you've dragged...
35Error in Reference,Line before listing:
Chapter 8

should be:
Chapter 9
46-47"Show Tasks" option,In Chapter 2 under the The Task List ,

Show Tasks is listed in two places.

The Show Tasks option was removed in the release version. The release version has a drop down that allows for the selection of tasks.

It should also be noted that in the release version, the build results with the errors and warnings is it's own window and is separate from the Task List.
49Error in Text, 8. Select Tool -> Macros -> Record Temporary Macro
should be:
8. Select Tools -> Macros -> Macro Explorer
69Error in Text,Paragraph 4, lines 1 and 2:
Object Strict

Should read:
Option Strict


Line 3 or Char and Byte section:
It is then assigns

should be:
It is then assigned
74UBound Function Error,Second line under the heading the UBound Function :

... from arrMyIntArray2(0) to arrMyIntArray1(3).
Should be:
... from arrMyIntArray2(0) to arrMyIntArray2(3).
133Error in Text,figure 4.5, the window should not include Mary 48 as the first item. Remove the first instance of Mary 48 from the window.11/20/05
104, 105, 108Inconsistant Prefix,104, 105, 108 you use fields with type prefix, e.g. mstrName while earlier in the chapter they were declared without it, e.g. mName2/14/06
938Error in Code Formatting,In the code example under item 9, there are several text formatting errors. The two important errors follow:

Line 6: Dim reader should start on a new line
938Error in Code Formatting,In the code example under item 9, there are several text formatting errors. The two important errors follow:

Line 10: Dim posEnd should start on a new line
956-959Missing Step for "Creating your Web Server",There should be a new step between 3 and 4 for Creating your Web Server :

3. Add the private members to the Class. In addition, add a constant to identify the port number the service will use for listening. Select a port that currently isn't in use on your computer. I'll use 9090.

Private listener As New HttpListener()
Private theService As String

Private Const PORT As Integer = 9090