Errata
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted by | Date submitted |
---|---|---|---|---|
Printed | Page 19, 24 Example Sub Main() procedure for starting a VB app. |
The line "oForm.Show vbModal" works for a regular form, but not for an MDI |
Anonymous | |
Printed | Page 27 Date description |
What is the precision of Date? The range is specified in days, but the default value |
Anonymous | |
Printed | Page 28 Integer description |
The line "One bit represents the sign (either positive or negative)." should read, |
Anonymous | |
Printed | Page 28 in Chapter 3 - VBA Variables and Data Types |
You have the Range of a long integer having a maximum of 2,147,486,647 |
Anonymous | |
Printed | Page 39 Before "Nothing keyword" |
From your examples, "Empty" is also a keyword. There should be an "Empty keyword" |
Anonymous | |
Printed | Page 39 "Nothing Keyword" section |
For: Set objvar = Nothing |
Anonymous | |
Printed | Page 41 Box ("ReDim Preserve''s Performance") 1st paragraph, 2nd sentence |
"affect" should be changed to "effect" |
Dave Roberts | Dec 24, 2010 |
Printed | Page 46 Beginning of second paragraph of "Variable Scope and Lifetime" section |
"... module using the Private keyword ..." should read "... module using the Dim or |
Anonymous | |
Printed | Page 47 In the "Friend Scope" paragraph |
This item now reads: |
Anonymous | |
Printed | Page 51, 541 These pages contradict each other. Page 51, penultimate paragraph |
states: |
Anonymous | |
Printed | Page 52 "Optional Arguments" section. Add an example at the end |
Public Sub Msg (Optional ByVal Message as Variant) |
Anonymous | |
Printed | Page 53 Before Intrinsic Constants section |
A section named "Literal Constants" needs to be added describing how to form literal |
Anonymous | |
Printed | Page 54 third paragraph, first line |
For: COM interface |
Anonymous | |
Printed | Page 85-86 Between lines 2 and 3 of example code |
While the description of this code snippet suggests "you can seamlessly use Microsoft Word |
Anonymous | |
99 middle of page |
"On Error 0" should read "On Error GoTo 0" |
Anonymous | Aug 17, 2010 | |
Printed | Page 127 Fourth bulleted tip |
Second line of the example reads: |
Anonymous | |
Printed | Page 129 "See Also" section at top of page |
Add: IsArray Function |
Anonymous | |
Printed | Page 129 In the "Return Value" section, explain the abbreviation DBC. |
Anonymous | ||
Printed | Page 132 Add a new entry |
|
Anonymous | |
Printed | Page 140 8th paragraph |
The Gregorian calendar year of 1998 (which is based |
Anonymous | |
Printed | Page 141 2nd paragraph (Ch. 7 > Calendar Property > Programming tips & gotchas) |
This section should mention the limits of any Hijri calendar algorithm, and |
Anonymous | |
Printed | Page 146 Add a new entry |
|
Anonymous | |
Printed | Page 157 last text paragraph |
For: ... using the Choose function to handle the an option button selection ... |
Anonymous | |
Printed | Page 158 "See Also" section |
For: ... Switch Statement |
Anonymous | |
Printed | Page 163 "See Also" section |
Add: Reset Statement |
Anonymous | |
Printed | Page 168 Collection.Count is actually a method, not a property -- at least |
that's what I see in the Object Browser. (Am I pedantic or what?) |
Anonymous | |
Printed | Page 175 For the Command Function, add a new section |
Add: See Also |
Anonymous | |
Printed | Page 175 "Syntax" section |
For: [Public|Private] Const constantname = constantvalue |
Anonymous | |
Printed | Page 178 "Description" section, add a final sentence |
Add: CreateObject causes the object's Initialize event to be raised. |
Anonymous | |
Printed | Page 182 "Return Value" section and "Description" section |
For: ... current path. |
Anonymous | |
Printed | Page 182 "Rules at a Glance" section, first bullet |
For: ... returns the path for the current drive. |
Anonymous | |
Printed | Page 185 "See Also" section |
Add: Error Statement |
Anonymous | |
Printed | Page 194 "Programming Tips & Gotchas" section, add another bulleted tip |
Add: Date and Date$ do not honour locale settings other than the USA locale. |
Anonymous | |
Printed | Page 225 The Dictionary.Add method |
Takes a parameter called "item," does not require "item" to be String data type as |
Anonymous | |
Printed | Page 227 "Programming Tips & Gotchas: section |
For: ... or assign a new key to a nonexistent key ... |
Anonymous | |
Printed | Page 236 "Description" section, add a second sentence |
Add: Can be used to determine whether a disc object (file or folder/directory) |
Anonymous | |
Printed | Page 237 "Rules at a Glance" section continued from the preceding page, second |
full bulleted item on this page: |
Anonymous | |
Printed | Page 237 "Rules at a Glance" section continued from the preceding page, add a |
further bulleted item: |
Anonymous | |
Printed | Page 242 example following third bulleted item |
For: If lngCtr / 1000 = Int(lngctr / 1000) Then |
Anonymous | |
Printed | Page 245 Add a new entry |
|
Anonymous | |
Printed | Page 245 "Syntax" section, add a further entry to the list |
add: End |
Anonymous | |
Printed | Page 245 "Description" section |
For: Ends a procedure or a block of code. |
Anonymous | |
Printed | Page 246 "See Also" section |
Add: Stop Statement |
Anonymous | |
Printed | Page 250 "Example" section |
For: LineInput #iFile, sDataLine |
Anonymous | |
Printed | Page 266 Add a new entry |
|
Anonymous | |
Printed | Page 266 "Syntax" section of Event Statement |
For: Public Event eventName [(arglist)] |
Anonymous | |
Printed | Page 269 Add a new entry |
|
Anonymous | |
Printed | Page 272 "Named Parameters" section |
For: Named Parameters |
Anonymous | |
Printed | Page 278 "See Also" section |
Add: GetAttr Function |
Anonymous | |
Printed | Page 282 "Methods" section |
For: GetSpecialFolderd |
Anonymous | |
Printed | Page 288 5th item in Rules at a Glance |
The default value of the Overwrite argument to the FileSystemObject.CreateTextFile |
Anonymous | |
Printed | Page 294 5th line from the top |
If ofs.fileExists("\NTSERV1d$TestPath") Then |
Anonymous | |
Printed | Page 299 "Programming Tips & Gotchas" section, first bulleted item |
For: ... such as coping or moving files ... |
Anonymous | |
Printed | Page 325 "Syntax" section, "format" subsection |
Add: Data Type: String |
Anonymous | |
Printed | Page 327 Examples for 'Medium Time' and 'Short time'; |
The first parameter should be a time, not a date |
Anonymous | |
Printed | Page 333 "Programming Tips & Gotchas" section, first bulleted item, last |
sentence: |
Anonymous | |
Printed | Page 335 "Rules at a Glance" section, second bulleted item |
For: The Tristate constant values are TristateTrue, TristateFalse, and |
Anonymous | |
Printed | Page 335 "Programming Tips & Gotchas" section, add an example |
Add: Example |
Anonymous | |
Printed | Page 337 "Description" section |
Add: If you have been using FreeFile to supply file numbers, checking its |
Anonymous | |
Printed | Page 338 Syntax of Function statement |
| Friend] |
Anonymous | |
Printed | Page 351 Rules at a Glance section, sixth bulleted item |
For: |
Anonymous | |
Printed | Page 355 Add a "See Also" section |
Add: See Also |
Anonymous | |
Printed | Page 361 "Programming Tips & Gotchas" section, add an example |
Add: Example |
Anonymous | |
Printed | Page 379 "Syntax" section, "xpos" and "ypos" subsections |
For: The distance from the ... |
Anonymous | |
Printed | Page 384 "Syntax" section, "start" subsection |
Add: If start > Len(sourcestring), InstrRev returns 0. |
Anonymous | |
Printed | Page 385 "Programming Tips & Gotchas" section: |
For: The usefulness of a function ... isn't immediately apparent. |
Anonymous | |
Printed | Page 395 "Programming Tips & Gotchas" section, add another bulleted entry |
Add: If expression is "" then IsNumeric returns false. |
Anonymous | |
Printed | Page 397 Add a "See Also" section for the Join Function |
Add: See Also |
Anonymous | |
Printed | Page 397 "Rules at a Glance" section for Kill Statement, last bulleted item |
For: If the file is open or is set to read-only, an error is generated. |
Anonymous | |
Printed | Page 399 "Programming Tips & Gotchas" section, delete the second bulleted entry |
[see page 126] |
Anonymous | |
Printed | Page 407 first paragraph |
For: The new controls inherit all the properties of the original control, |
Anonymous | |
Printed | Page 411-412 "Syntax" section, "resID" subsection |
Add: Resource ID 1 is reserved for an application's icon. |
Anonymous | |
Printed | Page 415 "See Also" section |
Add: Seek Function |
Anonymous | |
Printed | Page 415 "Syntax" section, "filenumber" subsection of Lock Statement |
For: Any valid file number. |
Anonymous | |
Printed | Page 416 "Syntax" section, "recordrange" subsection |
For: A range of records. |
Anonymous | |
Printed | Page 426 "Return Value" section |
For: A Double representing the modified internal rate of return. |
Anonymous | |
Printed | Page 427 "Rules at a Glance" section, second bulleted item |
For: ... or it's UNC name. |
Anonymous | |
Printed | Page 430 "Rules at a Glance" section, fourth bulleted item |
For: ... a Help button is automatically placed on the MsgBox dialog ... |
Anonymous | |
Printed | Page 431 "Button Display Constants" table, add an extra line |
Add: vbMsgBoxHelpButton 16384 Help |
Anonymous | |
Printed | Page 435 Add a new entry |
|
Anonymous | |
Printed | Page 437 "Return Value" section |
For: A Double indicating the number of payments. |
Anonymous | |
Printed | Page 439 Add a new entry |
|
Anonymous | |
Printed | Page 442 "Syntax" section, "access" subsection |
For: Specifies the allowable operations by the current process. |
Anonymous | |
Printed | Page 443 "Rules at a Glance" section, first bulleted item |
For: ... or a UNC path. |
Anonymous | |
Printed | Page 444 "See Also" section |
Add: FileAttr Function |
Anonymous | |
Printed | Page 445 "See Also" section of Option Base Statement |
Add: LBound Function |
Anonymous | |
Printed | Page 445 For the Option Compare Statement, add a new section |
Add: See Also |
Anonymous | |
Printed | Page 447 Add a new entry |
|
Anonymous | |
Printed | Page 448 "Syntax" section, "due" subsection |
For: 0 indicates that payments are due at the beginning of the payment period; |
Anonymous | |
Printed | Page 448 "Syntax" section, "Return Value" subsection |
For: A Double representing the monthly payment. |
Anonymous | |
Printed | Page 449 "Syntax" section, "due" subsection |
Add: The default is 0. |
Anonymous | |
Printed | Page 449 "Syntax" section, "Return Value" subsection |
For: A Double representing the principal paid in a given payment. |
Anonymous | |
Printed | Page 450 Add a new entry |
|
Anonymous | |
Printed | Page 451 "Syntax" section, "charpos" subsection |
Add: Either ; or Tab(n) or Tab . |
Anonymous | |
Printed | Page 452 "See Also" section |
Add: Put Statement |
Anonymous | |
Printed | Page 458 "Printer Object Methods" section, add a new subsection |
Add: Outputs a closed circle, elipse or pie slice (arc with radius lines drawn |
Anonymous | |
Printed | Page 458 "Printer Object Methods" section, "Line" subsection |
For: Syntax: oPrinter.Line [Step] (x1,1) [Step] (x2,y2) [color], [B][F] |
Anonymous | |
Printed | Page 458 "Printer Object Methods" section, add a new subsection |
Add: Outputs the evaluated output list |
Anonymous | |
Printed | Page 459 "Printer Object Methods" section, "TextHeight" subsection and "TextWidth" |
subsection: |
Anonymous | |
Printed | Page 459 "Printers Collection" section, second bulleted item at the start of the |
sample code: |
Anonymous | |
Printed | Page 459 Subsection "TextHeight" |
Returns the *height* (not the width) as is shown. |
Anonymous | |
Printed | Page 477 "Programming Tips & Gotchas" section, second bulleted item |
For: ... allow the use of WithEvents all object modules. |
Anonymous | |
Printed | Page 479 "See Also" section |
Add: Type Statement, Print # Statement, Write # Statement |
Anonymous | |
Printed | Page 484 "Programming Tips & Gotchas" section |
For: ... negative number as an argument immediately prior to using Randomize |
Anonymous | |
Printed | Page 485 "Return Value" section |
For: A Double representing the interest rate per period. |
Anonymous | |
Printed | Page 500 "Programming Tips & Gotchas" - 1st bullet |
Round with a numdecimalplaces set to 2 is NOT equivalent to Format (expression, |
Anonymous | |
Printed | Page 500 "Rules at a Glance" section, first bulleted item |
For: ... between 0 and 16. |
Anonymous | |
Printed | Page 500 "Rules at a Glance" section, second bulleted item |
For: ... numdecimalplaces is 5 or greater ... |
Anonymous | |
Printed | Page 500 "Programming Tips & Gotchas" section, first bulleted item |
For: ... Format(expression, #.##) |
Anonymous | |
Printed | Page 502 Add an example to the "SaveSetting Statement" |
Add: Example: SaveSetting "myApp", "Prefs", "Velocity", 500 |
Anonymous | |
Printed | Page 505 "See Also" section of the "Seek Function" |
Add: Loc Function |
Anonymous | |
Printed | Page 506 In the table just above the "Description" section, add a further example |
Add: "good", "bad", "ugly" |
Anonymous | |
Printed | Page 508 "See Also" section |
Add: Choose Function, Switch Function |
Anonymous | |
Printed | Page 517 "See Also" section |
Add: FileAttr Function |
Anonymous | |
Printed | Page 521 "Return Value" section |
For: A Double representing depreciation per period. |
Anonymous | |
Printed | Page 527 Add an extra entry to the table |
Add: Boolean False |
Anonymous | |
Printed | Page 530 "stdDataFormats Events" section |
For: stdDataFormats Events |
Anonymous | |
Printed | Page 532 "Description" section |
For: Halts program execution. |
Anonymous | |
Printed | Page 534 "Rules at a Glance" section, table within first bulleted item |
For: vbTextCompare 1 Textual |
Anonymous | |
Printed | Page 544 Second para beginning "Fixed-length strings.." |
Paul states that "fixed-length strings cannot be passed as paramters to a |
Anonymous | |
Printed | Page 545 "See Also" section |
Add: Choose Function |
Anonymous | |
Printed | Page 546 "Return Value" section |
For: A Double representing depreciation per period. |
Anonymous | |
Printed | Page 547 Add an example |
Add: Printer.Print "Hello"; Tab(20); "World" |
Anonymous | |
Printed | Page 550 At the extreme top left of the page |
For: TextStream Object |
Anonymous | |
Printed | Page 551-555 At the extreme top left/right of each page |
For: TextStream.??? Method |
Anonymous | |
Printed | Page 557 Add an example |
Add: |
Anonymous | |
Printed | Page 557 "Programming Tips & Gotchas" section, add an extra bulleted item |
Add: Note that the hardware real-time clock on an Intel PC has a granularity |
Anonymous | |
Printed | Page 559 Add a new entry |
|
Anonymous | |
Printed | Page 563 "See Also" section |
Add: Get Statement, Put Statement |
Anonymous | |
Printed | Page 567 "Syntax" section, "filenumber" subsection of Unlock Statement |
For: Any valid file number. |
Anonymous | |
Printed | Page 571 "Rules at a Glance" section, add a further bulleted item |
Add: If firstdayofweek is omitted, it defaults to vbSunday |
Anonymous | |
Printed | Page 575 "Rules at a Glance" section of "Width Statement", first bulleted item |
For: width defines the number of characters ... |
Anonymous | |
Printed | Page 579 "See Also" section of "Write # Statement" |
Add: Put Statement |
Anonymous | |
Printed | Page 611 line just above "Operator Precedence" section |
For: 10111100 = 00001111 Imp 10110011 |
Anonymous | |
Printed | Page 624 Add an extra entry to the index |
Add: Global keyword, 176 |
Anonymous | |
Printed | Page 627 Amend the index entry "object models" |
For: File system object model, 275-276 |
Anonymous | |
Printed | Page 631 Add an extra entry to the index |
Add: TypeOf keyword, 368 |
Anonymous |