BUG: Compile Error When You Reopen a Project That Uses Implements
Article ID: 191207
Article Last Modified on 5/12/2003
APPLIES TO
- Microsoft Visual Basic 6.0 Learning Edition
- Microsoft Visual Basic 6.0 Professional Edition
- Microsoft Visual Basic 6.0 Enterprise Edition
This article was previously published under Q191207
SYMPTOMS
When you reopen a project that uses the Implements keyword and that
previously ran fine, the following error is received:
Compile error: User-defined type not defined
CAUSE
This problem occurs because Visual Basic incorrectly saves a file and
Implements does not work properly.
RESOLUTION
Steps to Resolve the Problem
- Select References from the Project menu.
- Select Microsoft Data Formatting Object Library and the Microsoft Data
Source Interfaces.
- Save the Project.
- Press F5 to run the project. The above error does not occur.
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.
Keywords: kberrmsg kbbug kbpending kbcompiler KB191207