Article ID: 925699 - Last Review: September 20, 2006 - Revision: 1.0

101 Microsoft® Visual Basic® .NET Applications Comments and Corrections

On This Page

SUMMARY

This article contains comments, corrections, and information about known errors relating to the Microsoft Press book 101 Microsoft Visual Basic .NET Applications, 0-7356-1891-7.

The following topics are covered:

  • Page 12: Multiple corrections to Application 101 code sample

MORE INFORMATION

Page 12: Multiple corrections to Application 101 code sample

On page 12, add the following line after line 784:

Dim scnnNorthwind as New SqlConnection (SQL_CONNECTION_STRING)

Add the following line after line 784:

strConn = SQL_CONNECTION_STRING

Line 807 reads:

scnnNorthwind = New SqlConnection(SQl_CONNECTION_STRING

It should read:

scnn Northwind = New SqlConnection(strConn)

Line 871 reads:

Dim scnnNorthwind as SqlConnection

It should read:

Dim scnnNorthwind as New SqlConnection

Line 872 reads:

Dim scmd as SqlCommand

It should read:

Dim scmd as New SqlCommand

Add the following line after line 877:

strConn = SQL_CONNECTION_STRING

Line 939 reads:

Dim ocnnNorthwind as OdbcConnection

It should read:

Dim ocnnNorthwind as New OdbcConnection

Line 872 reads:

Dim ocmd as OdbcCommand

It should read:

Dim ocmd as New OdbcCommand

Line 1037 reads:

If fldBrowse.ShowDialog() = DialogResults.OK Then


It should read:
If fldBrowse.ShowDialog() = System.Windows.Forms.DialogResults.OK Then


Microsoft Press is committed to providing informative and accurate books. All comments and corrections listed above are ready for inclusion in future printings of this book. If you have a later printing of this book, it may already contain most or all of the above corrections.

Keywords: 
KB925699

Note: This article is from Microsoft Knowledage Base


How we have helped PC users like you

In the News: Read More In ...

Related problems posted by other users

more...