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



.



Relevant Pages

  • Re: close, restore, minimize buttons missing on Word 2007
    ... I don't seem to be able to start in safe-mode when I open Word by ... add-in causing the behavior. ... and in the Add-ins section try disabling the active ... _maximized_ in the right monitor. ...
    (microsoft.public.office.misc)
  • Re: Slide Transitions in PowerPoint 2007 Beta 2
    ... Disabling the Google add-in helped a lot. ... | Any luck solving this problem? ...
    (microsoft.public.powerpoint)
  • Disable COM Add-in
    ... But I am concerned if there is another COM Add-in which does the ... similar job of enabling and disabling commandbars. ...
    (microsoft.public.word.vba.general)
  • Disable COM Addin
    ... But I am concerned if there is another COM Add-in which does the ... similar job of enabling and disabling commandbars. ...
    (microsoft.public.office.developer.com.add_ins)
  • Disable COM Addin
    ... But I am concerned if there is another COM Add-in which does the ... similar job of enabling and disabling commandbars. ...
    (microsoft.public.office.developer.com.add_ins)