PRB: Error Message: Compile Error: Can't Find Project or Library
This article was previously published under Q225121
This article has been archived. It is offered "as is" and will no longer be updated.
When attempting to run or compile a Visual Basic project, the following error message is generated:
Compile Error: Can't Find Project or Library
The project contains a reference to a file or an ActiveX control that has been changed or does not exist.
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.
This behavior is by design.
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.
- Standard ActiveX Controls in the Online Help or the MSDN Web site at:
demonstates how to add an ActiveX control to your Visual Basic Project.
Article ID: 225121 - Last Review: 12/05/2015 13:51:26 - Revision: 2.1
Microsoft Visual Basic 5.0 Learning Edition, Microsoft Visual Basic 6.0 Learning Edition, Microsoft Visual Basic 5.0 Professional Edition, Microsoft Visual Basic 6.0 Professional Edition, Microsoft Visual Basic 5.0 Enterprise Edition, Microsoft Visual Basic Enterprise Edition for Windows 6.0, Microsoft Visual Basic 3.0 Professional Edition, Microsoft Visual Basic 4.0 Standard Edition, Microsoft Visual Basic 3.0 Professional Edition, Microsoft Visual Basic 4.0 Professional Edition
- kbnosurvey kbarchive kberrmsg kbprb KB225121