Hello;
Googling on MSWORD9.OLB got it for me. Here is an article that explains it:
http://www.codeguru.com/Cpp/COM-Tech/atl/tutorials/article.php/c3591/
And here are my three builds:
C:\src\AutoTag\AutoTag2000\libs>tlbimp "o:\Program Files\Microsoft
Office\Office
\MSO9.DLL" /out:Office2000.dll /namespace:Microsoft.Office.Core
/keyfile:..\..\l
ib\keypair.snk /primary
Microsoft (R) .NET Framework Type Library to Assembly Converter 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Type library imported to C:\src\AutoTag\AutoTag2000\libs\Office2000.dll
C:\src\AutoTag\AutoTag2000\libs>tlbimp "o:\Program Files\Common
Files\Microsoft
Shared\VBA\VBA6\VBE6EXT.OLB" /namespace:Microsoft.Vbe.Interop
/keyfile:..\..\lib
\keypair.snk /out:Vbe6.dll
Microsoft (R) .NET Framework Type Library to Assembly Converter 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
TlbImp warning: Primary interop assembly 'Microsoft.Vbe.Interop,
Version=11.0.0.
0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' is already registered
for t
ype library 'o:\Program Files\Common Files\Microsoft
Shared\VBA\VBA6\VBE6EXT.OLB
'.
Type library imported to C:\src\AutoTag\AutoTag2000\libs\Vbe6.dll
C:\src\AutoTag\AutoTag2000\libs>tlbimp "o:\Program Files\Microsoft
Office\Office
\MSWORD9.OLB" /out:Word2000.dll /namespace:Microsoft.Office.Interop.Word
/keyfil
e:..\..\lib\keypair.snk /primary /reference:Office2000.dll
Microsoft (R) .NET Framework Type Library to Assembly Converter 1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
Type library imported to C:\src\AutoTag\AutoTag2000\libs\Word2000.dll
C:\src\AutoTag\AutoTag2000\libs>
I am assuming the warning when building the VBE dll is ok???
thanks - dave