469,081 Members | 1,834 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,081 developers. It's quick & easy.

Registering binary components

I'm trying to learn VB. I get the following error when I add a VB project to
the one I'm currently working on

"Unable to set the version compatible component C:\...\Dir\bin\Project2.dll"

where Project2.vbp in Dir is the project I'm trying to add to Project1.vbp.

I thought I might have to register the dll, but the bin directory mentioned
in the error message doesn't seem to exist.
What should I do?
Thanks,

Marco
Jul 17 '05 #1
1 12502
On 4 Aug 2004 04:16:18 -0700, md***@hotmail.com (Marco) wrote:
I'm trying to learn VB. I get the following error when I add a VB project to
the one I'm currently working on

"Unable to set the version compatible component C:\...\Dir\bin\Project2.dll"

where Project2.vbp in Dir is the project I'm trying to add to Project1.vbp.

I thought I might have to register the dll, but the bin directory mentioned
in the error message doesn't seem to exist.
What should I do?
Thanks,


In Project Properties go to the Compatibility tab and point it to the
actual compiled version of Project2.dll (which is somewhere on your
machine, hopefully).

If you don't have any such file, you'll have to change it to "No
Compatibility". Then you can compile the dll, make a copy, change it
back to "Binary Compatibility" and point it at the copy of the dll you
just made. All exe's compiled against the old version of Project2.dll
will need to be recompiled with references changed to the new version.

Jim Deutch
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by David | last post: by
16 posts views Thread by Catherine Jones | last post: by
1 post views Thread by peter.jakes | last post: by
2 posts views Thread by umberto | last post: by
7 posts views Thread by anon | last post: by
2 posts views Thread by Mad Scientist Jr | last post: by
6 posts views Thread by | last post: by
1 post views Thread by shivkumar2004 | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.