Wrox Home  
Search

Topic: Visual Basic

Cover image for product 0470182628
Visual Basic 2008 Programmer's Reference
Rod Stephens
ISBN: 978-0-470-18262-8
Paperback
1248 pages
February 2008
Other Available Formats: Adobe E-Book
Paperback Version: US $39.99 Add to Cart

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
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

Visual Basic Related Resources

Forums

Articles