Topic: Visual Basic

Visual Basic 2008 Programmer's Reference (0470182628) cover image

Visual Basic 2008 Programmer's Reference

Rod Stephens
ISBN: 978-0-470-18262-8
Paperback
1248 pages
February 2008
Other Available Formats: E-book
This title is out-of-print and not currently available for purchase from this site.

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
26 Error in Code
Option Explicit On
Option Explicit Off

The code must be :
Option Explicit On
Option Infer Off
08/09/08
394 Error in Code
grey code area contains:
DivideError1:
On Error GoTo -1
On Error Resume Next
i = 1 / j
Exit Sub

but to work as described in text, this should be:
DivideError1:
On Error GoTo -1
On Error Resume Next
i = 1 / j

There should be no Exit sub.
3/9/11
912 Error in Reference
The DisplayRectangle entry incorrectly refers to Label3 in Figure A-1, but there is no Label3 in that figure. Please ignore that sentence.
3/9/11
Appendix E 945 Error in Syntax
incorrect syntax for iif and if
True and false parts and in the wrong order.

The syntax should be:
Public Function IIf( _
ByVal Expression As Boolean, _
ByVal TruePart As Object, _
ByVal FalsePart As Object _
) As Object
04/01/08