-
I've just had to format my PC and after re-installing VB6, I tried to run some code which worked fine previously.
I'm getting the following error message:
Compile error:
Can't find project or library.
And it falls over at the command line function. I've assigned a directory location to the command line in the project properties. It worked fine before, can anyone tell me how to resolve this?
Cheers
Skeen
-
Sounds like a component or reference you were using is no longer on your re-installed system. Could be some 3rd party tool you downloaded? Look at the project file (.vbp) and see what references it uses.
-
All of the refferences which I origionally chose are still highlighted. Does that mean the library that has been referenced is no longer on my PC? If so, would it be on the Visual Studio disk?
Thanx for the help
-
Could be, if you look at you references VB will tell you if any of them are missing by addin "MISSNG:" to reference. If none are missing then it could be a control, but again when VB loads the project it will give you an error that a control is missing and report to a log file. I've seen some machines setups where VB5 has been upgraded to VB6 and the VB6 projects reference VB5 controls and libraries, this could be what is wrong? Look at the .VBP and check all the references in it.
-
<?>
Make sure you reinstalled your Service Packs if you had any installed prior to your formatting.