I was trying to run a vb project and I recieved an error message "compile error: can't find project or library". I checked References - none of the references is prefixed with "missing". What can I do?
Printable View
I was trying to run a vb project and I recieved an error message "compile error: can't find project or library". I checked References - none of the references is prefixed with "missing". What can I do?
Just some ideas...
1. What was the last thing you added to your project before receiving this error?
2. What objects are created in your code that are external to vb?
3. Are you automating any app like Word or Excel that isn't checked in references or perhaps needs to be reinstalled on the machine?
1. I didn't add anything for a while. The project works fine on my PC. But when I copied it to another PC, it gives me the error on that PC.
2. Sorry, I don't think I understand the question.
3. I don't think the project is doing anything with Word or Excel.
Do other projects compile normally on the PC that gives you the error?
I'm sorry, there is a missing reference (I somehow missed it the firest time I looked). It's MS DTSPackage object library (dtspkg.rll). I tried to follow directions in MSDN help to add the reference, but it didn't work. There is no dtspkg.rll on the PC. Will it work if I copy and paste dtspkg.rll (and then add the reference)?