Registering binary components

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Marco

    #1

    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
  • Jim Deutch

    #2
    Re: Registering binary components

    On 4 Aug 2004 04:16:18 -0700, mdi00@hotmail.c om (Marco) wrote:
    [color=blue]
    >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,[/color]

    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

    Comment

    Working...