Hi Nicole,
I don't want to have to create my own unless I have to. (I tried the
tlbimp.exe and it tells me that the Interop.office.dll is an invalid type
library.) I downloaded those PIA's from Microsoft's site a while back, but
these are not signed. Where are the signed versions located? I'm at my wits'
end here. I spent many hours trying to find a solution to this dilemma. I
was advised to use the "Wrapper Assembly for ActiveX COM Objects" option in
the project's properties dialog, but I'm using VB.NET and my version does
not support this option. (I did create 'test' CS.NET project and it worked
fine - I don't understand why this option isn't supported in VB?) I seems
everytime I follow a promising lead it turns out to be disappointing. If you
can think of any other possible solutions, please let me known. I really
need to figure out how to "sign" these COM objects.
Thanks!!!
> You can give strong names to COM wrapper DLLs using tlbimp.exe
> (http://msdn.microsoft.com/library/en-us/cptools/html/cpgrftypelibraryimportertlb
impexe.asp).
[quoted text clipped - 31 lines]
>>>>
>>>> Thanks.
Nicole Calinoiu - 05 Jan 2006 17:24 GMT
> Hi Nicole,
> I don't want to have to create my own unless I have to. (I tried the
> tlbimp.exe and it tells me that the Interop.office.dll is an invalid type
> library.)
That's because you need to run tlbimp against the original COM DLL, not an
existing interop assembly. Tlbimp will generate a new interop assembly from
the COM DLL, applying a strong name signature to this new assembly if
specified.
> I downloaded those PIA's from Microsoft's site a while back, but these are
> not signed. Where are the signed versions located?
For Office 2003, they're installed with Office. See
http://msdn.microsoft.com/library/en-us/dv_wrcore/html/wrrefofficeprimaryinterop
assemblies.asp
for details.
For Office XP, they can be downloaded from
http://msdn.microsoft.com/library/en-us/dnoxpta/html/odc_oxppias.asp.
> I'm at my wits' end here. I spent many hours trying to find a solution to
> this dilemma. I was advised to use the "Wrapper Assembly for ActiveX COM
[quoted text clipped - 43 lines]
>>>>>
>>>>> Thanks.