Add-Ins for Office 2 peculiar problems

D

Duane

Hi All,

Every thing works fine on my add-ins project except when its uninstalled....
all traces are removed except a residual menu in the Menus of the host
application be it word / excel / ppt.

Also somehow I am not able to capture the Office applications events such as
Open / Close / Save / Save As / Print / New / Exit / etc... how can i within
my add-in.

Also I need my add-in to respond to receive a custom event being fired by a
system tray application that i wrote... how can i do that.

Regards
Duane
 
M

Mark Durrenberger

Dim myMenuTag as String
Dim oControl As CommandBarControl
myMenuTag = "The tag I applied when I created the menu"
' remove the Menu
For Each oControl In CommandBars("Menu Bar").Controls
If oControl.Tag = myMenuTag Then
oControl.Delete
End If
Next oControl

Mark

--
_________________________________________________________
Mark Durrenberger, PMP
Principal, Oak Associates, Inc, www.oakinc.com
"Advancing the Theory and Practice of Project Management"
________________________________________________________

The nicest thing about NOT planning is that failure
comes as a complete surprise and is not preceded by
a period of worry and depression.

- Sir John Harvey-Jones
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top