BUG: Sub Moved Above Enum or Type Causes Incompatibility Error (191691)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q191691 SYMPTOMS
If you move a procedure to the beginning of a class module above a Enum or
Type statement and then recompile the project with Binary Compatibility
set, a version incompatibility error similar to the following occurs where
"Test" is the name of an Enum:
"Enum "Test" exists in the version-compatible component, but not in
the current project"
RESOLUTION
If the procedure is placed below the Enum and Type Statements, the project
recompiles with no compatibility error.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbbug kbpending KB191691 |
---|
|