PRB: OPTION PRIVATE Statement Has No Effect in Visual BasicLast reviewed: September 29, 1997Article ID: Q129895 |
The information in this article applies to:
SYMPTOMSUsing the statement Option Private when declaring a module does not affect the behavior of a Visual Basic version 4.0 application in any way.
CAUSEThe Option Private statement is not implemented in Visual Basic version 4.0. It is useful only in applications that support multiple projects loaded simultaneously and allow references between the loaded projects, as Microsoft Excel version 5.0 does for example. The statement makes it impossible to access members of the module from a referencing project even if the member is declared public.
STATUSThis behavior is by design. Because Visual Basic version 4.0 doesn't support multiple loaded projects, this statement has no use. Keywords : PrgOther VB4ALL VB4WIN vbwin GnrlVb kbprg Technology : kbvba Version : WINDOWS:4.0 Platform : WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |