BUG: Name Conflict Error Even After Renaming Module (190200)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q190200 SYMPTOMS
In a Microsoft Visual Basic project, when you give the same name to an Enum
and a class module and run the project, you will get the following error:
Compile error: Name conflicts with existing module, project or
object library
However, after you resolve the name conflict by changing the name of the
class module, the same error still occurs when you run the project.
CAUSE
Visual Basic does not rebuild the binding table upon the name change.
Therefore, the change is not reflected in the system and the conflict
persists.
RESOLUTION
You need to make a few changes to the project (for example, add some code
to the modules) or reload the project to workaround this error.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products
listed at the beginning of this article. We are researching this
bug and will post new information here in the Microsoft Knowledge
Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbbug KB190200 |
---|
|