Project or Library missing
On Jun 28, 1:04 am, Keith wrote:
I have a program that works fine on some of our laptops and not on others.
When the routine is run on the ones that don't work I get the message
Compile Error
Can't find project or library
The command line causing the problen reads:
str = Right(str, Len(str) -1)
The highlight is on the word Right.
When this happened in the past I was:
In the VBIDE, go into ToolsReferences, and if there re any items marked as
MISSING, uncheck them.
But this time there arent any marked as MISSING.
Anybody got any other ideas?
Have you tried using the Debug | Compile option ?
Otherwise you could export the module code to a text file, delete it
from the project, and re-import it. Highlight the module in the
Project Explorer, use File | Remove <modulename, reply Yes to save it
somewhere safe, then use File|Import to get it back. This may clear
out the bogus reference information. Don't forget to recompile as
well.
|