ADD-In designer calls menu cretion code but menu does not apper

  • Thread starter Thread starter Maija Korhonen
  • Start date Start date
M

Maija Korhonen

I have created a Visual Basic dll-file that uses ADD-In
Designer for PowerPoint. In that On Connection event I
call code that should create my own menu selection before
File-menu. In some cases the menu does not appear at
first. If I for example modify somehow in PowerPoint
Build-in menu by adding for example "COM Add-in"
selection to menu bar and close PowerPoint and start it
again my menu will appear. It seems to me that it does
not get "connection" to menu bar at first. Menu bar
creation goes to error handler which I have created in my
code. I have used Application.CommandBars.ActiveMenuBar
command to get connection to current menu. DLL is
registered to HKLM part in registry in this case. Same
code for Excel and Word works fine and menu has appeared
after registration without any problems. My problem has
arised both in Office 2000 (English version) and in
Office 2002 (Finnish version) but not always....
 
Back
Top