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

ID: Q225121


The information in this article applies to:


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:


REFERENCES

  • Standard ActiveX Controls in the Online Help or the MSDN Web site at:

    http://msdn.microsoft.com/library/devprods/vs6/vb/html/vbconstandardactivexcontrols.htm

    demonstates how to add an ActiveX control to your Visual Basic Project.
  • Additional query words:

    
    Keywords          : kberrmsg kbActiveX kbVBp kbVBp300 kbVBp400 kbVBp500 kbVBp600 kbGrpVB 
    Version           : WINDOWS:3.0,4.0,5.0,6.0
    Platform          : WINDOWS 
    Issue type        : kbprb 

    Last Reviewed: April 20, 1999