library references missing.

Matthew Snook

NW Salmon Database
Local time
Today, 18:16
Joined
Apr 19, 2001
Messages
133
In developing my front end functionality, I have used the JRO library to both compact and synchronize my backend database. It all works as designed.

When I use it on the development machine, that is. When I copy the front end database to other machines, I start getting error messages: "Compile error: Can't find project or library." I checked the tools/references and "missing" is the JRO library version 2.6. All I have to do is uncheck the missing library, find the JRO library on the new machine (which is version 2.1) and make it available.

So: every time I update the front end, I must copy the file to the other machines for users. This breaks my connection to the object library and I must go in and fix it every time! Is there a way to do this in code? Somehow I need the project to run no matter what JRO library is on the other machines.

Any suggestions?

Matt
 
My suggestion would be to change the reference on your development machine to JRO version 2.1 so you do not have the discrepancy when porting to the user machines.

If this doesn't work, then reference manipulation (using the references collection) is possible, but it seems like the above approach is easier.

Hope this helps,

Peter De Baets
Peter's Software - http://www.peterssoftware.com
 
Thanks! Actually, I did try pulling the msjro.dll from one machine to the other, only to get even more cryptic error messages, so I put everything back.

I'll give both of your solutions a try.

Matt
 

Users who are viewing this thread

Back
Top Bottom