Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't find project or Library

Status
Not open for further replies.

99mel

Programmer
Oct 18, 1999
379
GB
arghh...An error has just turned up on some of my code. It displays &quot;Can't find project or Library&quot;. I've used a 'Mid' function and its highlighting 'Mid' and bringing up the 'Can't find project or Library' error. Any ideas anyone??<br>

 
Sounds like your database is expecting an OCX or library that is not there. I had this problem. It doesn't mean that it can't find the library with the Mid function in it. You should be able to open up the references dialog and this will show you which OCXs/libraries are missing. i think you do this on one of the VBA toolbars/menus. You can then either add the library/OCX to your machine or remove the reference to it. This will get rid of the message.
 
Ummm how do you open the Reference Dialogue box?<br>
When i compile the code a 'Reference Dialogue' box does come up but this just gives me a list of library stuff which i can check against each one. Some are already checked. Which ones should i include or remove??<br>
<br>
Thanks again
 
Try looking for any OCX files and see if theyt are on your machine. Its a bit of a trawl but the obvious things to look for are things other than comctl32.ocx which is a standard OCX file. You really need to check each file/OCX in the list and see if the correspondinf file is actually on the machine. If you are on NT these will most likely reside in Winnt\System32, or if on Win98 they will be somewhere under your Windows directory. Mial me at <A HREF="mailto:culshaja@hotmail.com">culshaja@hotmail.com</A> with a list of all the checked files in your list if you want and I may be able to see some possible culprits for you to look for. By the way, have you any of the Visual Studio, or Delphi products on your machine, or were they on the machine the database was developed on?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top