From: chris on
I have created a DLL in VB6.0 and I am referencing it in my MS Access
program, Excel & Power Point add-ins.

Every time I create the DLL, I need to deselect reference and add it again
in all of my 3 programs as it considers DLL to be a different version.

Is there any way I can set sth in my DLL or do something else so I do not
need to deselect refence and add it again in my access program, excel & power
point add-in every time I recompile DLL ?

Thanks a lot in advance!
From: Jan Hyde (VB MVP) on
chris <chris(a)discussions.microsoft.com>'s wild thoughts were
released on Wed, 2 Jul 2008 07:19:00 -0700 bearing the
following fruit:

>I have created a DLL in VB6.0 and I am referencing it in my MS Access
>program, Excel & Power Point add-ins.
>
>Every time I create the DLL, I need to deselect reference and add it again
>in all of my 3 programs as it considers DLL to be a different version.

Read up on 'Binary Compatability'

>Is there any way I can set sth in my DLL or do something else so I do not
>need to deselect refence and add it again in my access program, excel & power
>point add-in every time I recompile DLL ?

As above.

--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde
From: Ricardo Lavia on
Try setting binary compatibility for the component. You won't need to
register the component unless you modify its interfase.