In many cases, only the logical constants vbTrue and vbFalse can be used. In other cases, the third constant, vbUseDefault, can be used to indicate a setting that is neither True nor False, or a setting that is defined elsewhere in the system:.
Constant |
Value |
Description |
---|---|---|
vbFalse |
0 |
False |
vbTrue |
-1 |
True |
vbUseDefault |
-2 |
Use the default value defined by the system, or not applicable |
Part I: The Basics
Introduction
Program Structure
Data Types and Variables
Error Handling and Debugging
VBScript with Active Server Pages
Programming Outlook Forms
Windows Script Host 5.6
VBScript with Internet Explorer
Windows Script Components
Part II: Reference
Part III: Appendixes
Appendix A. Language Elements by Category
Appendix B. VBScript Constants
Appendix C. Operators
Appendix E. The Script Encoder