C
cramhead
Hi I'm hoping one of you brilliant people can help me out.
I've made a com add in VB.NET in VS.NET 2005.
It runs fine on my development machine, but is immediately disabled
when installed on other machines with Outlook 2003.
There are no warnings or event log messages regarding the disabling of
the addin.
Nothing is visible in the Help > About > Disabled Items listing.
Nothing is visible in the Tools > Options > Other > Advanced Options >
COM Add-Ins listing.
If I attempt to add and point to the COM shim it does not complain,
but doesn't make an entry. If I point to the actual add in dll it says
that it is not a valid add in.
The "LoadBehavior" specified in the registry entry is changed from 3,
i.e. load of start up of Outlook, to 2, disabled when Outlook starts.
I've used Com Shim Wizard for VS.NET 2005 and it seems to work fine.
In my deployment project I include the Primary Output from the addin
project as well as the Com Shim project (I don't know if this is
exactly what I should be doing or not)
In my references I reference
C:\Program Files\Common Files\Microsoft Shared\MSEnv\PublicAssemblies
\Extensibility.dll, C:\WINDOWS\assembly\GAC\Office
\12.0.0.0__71e9bce111e9429c\Office.dll, C:\WINDOWS\assembly\GAC
\Microsoft.Office.Interop.Outlook\11.0.0.0__71e9bce111e9429c
\Microsoft.Office.Interop.Outlook.dll,
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll,
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll,
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll
Is there a reference that I'm missing?
I'm assuming that the Microsoft.Office.Interop.Outlook.dll reference
setup project is the primary interop assembly for being able to work
with unmanaged objects in the managed environment. It's register entry
is set to "vsdraDoNotRegister'. I don't really know if that is
correct, but it's the default so I'm assuming so.
I've also tried registering the COM shim with regsvr32.exe. It
registers but seems to change nothing.
I have administrative rights on the machine I'm installing on so I
don't think it's permissions.
Thanks in advance
Marc
I've made a com add in VB.NET in VS.NET 2005.
It runs fine on my development machine, but is immediately disabled
when installed on other machines with Outlook 2003.
There are no warnings or event log messages regarding the disabling of
the addin.
Nothing is visible in the Help > About > Disabled Items listing.
Nothing is visible in the Tools > Options > Other > Advanced Options >
COM Add-Ins listing.
If I attempt to add and point to the COM shim it does not complain,
but doesn't make an entry. If I point to the actual add in dll it says
that it is not a valid add in.
The "LoadBehavior" specified in the registry entry is changed from 3,
i.e. load of start up of Outlook, to 2, disabled when Outlook starts.
I've used Com Shim Wizard for VS.NET 2005 and it seems to work fine.
In my deployment project I include the Primary Output from the addin
project as well as the Com Shim project (I don't know if this is
exactly what I should be doing or not)
In my references I reference
C:\Program Files\Common Files\Microsoft Shared\MSEnv\PublicAssemblies
\Extensibility.dll, C:\WINDOWS\assembly\GAC\Office
\12.0.0.0__71e9bce111e9429c\Office.dll, C:\WINDOWS\assembly\GAC
\Microsoft.Office.Interop.Outlook\11.0.0.0__71e9bce111e9429c
\Microsoft.Office.Interop.Outlook.dll,
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll,
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll,
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll
Is there a reference that I'm missing?
I'm assuming that the Microsoft.Office.Interop.Outlook.dll reference
setup project is the primary interop assembly for being able to work
with unmanaged objects in the managed environment. It's register entry
is set to "vsdraDoNotRegister'. I don't really know if that is
correct, but it's the default so I'm assuming so.
I've also tried registering the COM shim with regsvr32.exe. It
registers but seems to change nothing.
I have administrative rights on the machine I'm installing on so I
don't think it's permissions.
Thanks in advance
Marc