472,143 Members | 1,728 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,143 software developers and data experts.

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 12689
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
reply views Thread by Saiars | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.