Phill W.
11/28/2007 1:41:00 PM
gordiangossen@googlemail.com wrote:
> I guess that the ADODB-Interop.Assembly, that are automatically
> created by VS2005 for each of the projects are different, although
> they reference the same?!
Because the IDE created the InterOp classes for you, yes; each created
InterOp assembly is a totally different Type from any other (essentially
each one is local to the project into which you "imported" it), /even
if/ they use the same source Dll.
You need to reference the ADODB Primary InterOp Assembly instead, which
gets around this problem.
(Or at least you do with VB'2003).
HTH,
Phill W.