Link to home
Start Free TrialLog in
Avatar of pkimk
pkimk

asked on

Compile error: Can't find project or library

For VB6.0 enterprise, Win95

VB prompt "Compile error: Can't find project or library.", when I run my program. Some other program work/compile fine.

What library is using for Chr(10), Trim(string), LCase(string), etc... ?

Please advise.
Avatar of pinshah
pinshah

Check in the Project References if U can see "Missing ... " 
Yeah!
<as in the prison cell scene in "Trading Places">
Check in the Project References if U can see "Missing ... " 
Avatar of Éric Moreau
Put "VBA." in front of these functions!
Sometimes restarting VB or running RegClean can take care of some of these types of compile errors. The functions that you mention are intrinsic to VB and should not need to be prefaced with VBA. I've also found that an occasional re-install of VB will help as well.
hi, pkimk,
see you again,
as what I mention to you in others question,
reinstall you VB since your current VB already corrupted.
ASKER CERTIFIED SOLUTION
Avatar of caraf_g
caraf_g

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pkimk

ASKER

The "missing" component is not one of mine. I simply unchecking the component from Project - References, save it, close the window, open it again, Bingo.