Discussion:
Interop.VBA.dll in GAC - How to install?
(too old to reply)
Mauro
2004-03-04 14:51:28 UTC
Permalink
Hi,

we have various ASP.NET apps which need to reference an existing VB6 DLL.
We've noticed that every time we add a reference to our DLL in an ASP.NET
project, VS.NET automatically creates an Interop.VBA.dll. We would only like
to deploy 1 copy of this DLL to our web server, but are not sure how to go
about doing that because

a) We are not sure if we can create the Interop.VBA.dll ourselves using
TLBIMP.EXE
b) The automatically generated one is NOT appearing in the GAC and is not
strong-named as shown by the extract below from ILDASM
c) It's not clear to us what - if any - is the relationship with
Microsoft.Vbe.Interop which instead is in the GAC.

Any help would be greatly appreciated.

Thanks
Mauro

// Microsoft (R) .NET Framework IL Disassembler. Version 1.1.4322.573
// Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
.assembly extern mscorlib
{
//mscorlib is strong named and is in the GAC
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) //
.z\V.4..
.ver 1:0:5000:0
}
.assembly Interop.VBA
{
//Interop.VBA is NOT strong named
.custom instance void
[mscorlib]System.Runtime.InteropServices.ImportedFromTypeLibAttribute::.ctor
(string) = ( 01 00 03 56 42 41 00 00 ) // ...VBA..
.custom instance void
[mscorlib]System.Runtime.InteropServices.GuidAttribute::.ctor(string) = ( 01
00 24 30 30 30 32 30 34 65 66 2D 30 30 30 30 // ..$000204ef-0000

2D 30 30 30 30 2D 63 30 30 30 2D 30 30 30 30 30 // -0000-c000-00000

30 30 30 30 30 34 36 00 00 ) // 0000046..
.hash algorithm 0x00008004
.ver 6:0:0:0
}
Mauro
2004-03-05 12:55:11 UTC
Permalink
Hello,

I've also found a thread in GOTDOTNET dating from nearly two years ago
[http://www.gotdotnet.com/Community/MessageBoard/Thread.aspx?id=51029],
which never received a reply. I would think this is something that the
Microsoft folk should take on board.

M
Post by Mauro
Hi,
we have various ASP.NET apps which need to reference an existing VB6 DLL.
We've noticed that every time we add a reference to our DLL in an ASP.NET
project, VS.NET automatically creates an Interop.VBA.dll. We would only like
to deploy 1 copy of this DLL to our web server, but are not sure how to go
about doing that because
a) We are not sure if we can create the Interop.VBA.dll ourselves using
TLBIMP.EXE
b) The automatically generated one is NOT appearing in the GAC and is not
strong-named as shown by the extract below from ILDASM
c) It's not clear to us what - if any - is the relationship with
Microsoft.Vbe.Interop which instead is in the GAC.
Any help would be greatly appreciated.
Thanks
Mauro
// Microsoft (R) .NET Framework IL Disassembler. Version 1.1.4322.573
// Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
.assembly extern mscorlib
{
//mscorlib is strong named and is in the GAC
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 ) //
.z\V.4..
.ver 1:0:5000:0
}
.assembly Interop.VBA
{
//Interop.VBA is NOT strong named
.custom instance void
[mscorlib]System.Runtime.InteropServices.ImportedFromTypeLibAttribute::.ctor
Post by Mauro
(string) = ( 01 00 03 56 42 41 00 00 ) // ...VBA..
.custom instance void
[mscorlib]System.Runtime.InteropServices.GuidAttribute::.ctor(string) = ( 01
00 24 30 30 30 32 30 34 65 66 2D 30 30 30 30 // ..$000204ef-0000
2D 30 30 30 30 2D 63 30 30 30 2D 30 30 30 30 30 // -0000-c000-00000
30 30 30 30 30 34 36 00 00 ) // 0000046..
.hash algorithm 0x00008004
.ver 6:0:0:0
}
Loading...