Microsoft KB Archive/925699

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

Article ID: 925699

Article Last Modified on 9/20/2006

-

APPLIES TO


 * 101 Microsoft Visual Basic .NET Applications, ISBN 0-7356-1891-7

-



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



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.

Additional query words: 0-7356-1891-7 978-0-7356-1891-6

Keywords: KB925699

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.