PRB: Error Message: Compile Error: Can't Find Project or Library (225121)



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
  • Microsoft Visual Basic Standard Edition for Windows 3.0
  • Microsoft Visual Basic Standard Edition for Windows 4.0
  • Microsoft Visual Basic Professional Edition for Windows 3.0
  • Microsoft Visual Basic Professional Edition for Windows 4.0

This article was previously published under Q225121

SYMPTOMS

When attempting to run or compile a Visual Basic project, the following error message is generated:
Compile Error: Can't Find Project or Library

CAUSE

The project contains a reference to a file or an ActiveX control that has been changed or does not exist.

RESOLUTION

Open the References dialog and clear any references to any entries marked MISSING. If those references are required for the project, re-register the correct files. For more information about adding an ActiveX control to your project, see the REFERENCES section of this article.

STATUS

This behavior is by design.

MORE INFORMATION

This error message can appear under the following conditions:
  • The file referenced has been deleted.
  • The GUID of the ActiveX control has been changed.
  • The file referenced was moved to a different location.

REFERENCES


Modification Type:MajorLast Reviewed:5/12/2003
Keywords:kberrmsg kbprb KB225121