Similar Threads:
1.Disable PropertyPage without disabling entire Com AddIn
Hi All,
I have an ComAddin which also cretes a PropertyPage in Outlook Options
Dialog. My question is: Is there a way to disable the loading of the
PropertyPage without disabling the whole Addin?
I tried to delete the CLSID for the PropertyPage but then got an error
message that the controle was not correctly registered with OLE.
I am wondering if there is an equivalent to "LoadBehaviour" for the
PropertyPage?
Thanks,
movalgirl
2.Managed Com Add in Disabled automatically
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
3.Disable COM Add-In functionality
Hi.
We are desperate to figure out a way to disable the COM
Add-In button in advanced properties in MS Outlook 2000
(and later). In order to "Lock down" outlook, we do not
want users to be able to add or more importantly, remove
our COM Add-Ins because they include security features.
This seems to be one of the only pieces of functionality
that cannot be turned off in the Security Policy Editor.
Thanks,
David
4.Disable COM Addin
Hi,
I have a COM Add-in which works with CommandBars by Enabling and
Disabling them. The code works fine.
But I am concerned if there is another COM Add-in which does the
similar job of enabling and disabling commandbars. So in that case,
what I have done to commandbars may be undone by another Add-in.
How do I disable other Add-ins when my add-in is running.
I have used the following code
For Each addin In App.COMAddIns
If Not addin.Description = "Test Add-in" Then '
"Test Add-in" is the description of my Addin
addin.Connect = False
End If
Next
But this dont seem to work. Can anybody help.
Thanks,
Venu
5.Programatically disable the com addin
Dear Sirs,
I developed a Com Add-in for Outlook that copies items to a public
folder, I would like to check if the public folder is accessible and if not
to disable the add-in. How can I programmatically disable the add-in?
Regards,
Yahya
6. Word 2007 randomly disabling COM Add-In
7. Disable a Word com addin when Word as WordMailEditor
8. Disable Outlook COM Add-in