Word File Menu Item Deleted

W

Walter Leinert

Hi,

i am experimenting with a .NET Office AddIn mainly to
extend Microsoft Word XP. I tried to remove or replace
standard Word menu items; i could remove on and adda new
custom item. But now the removed file menu item has gone
away. Is there a way to reenable this file menu item?

Does anyone have any good samples for manipulating office
application nenue entries using Office PIAs?

Best regards,
Walter
 
C

Cindy Meister -WordMVP-

Hi Walter,

Irrespective of which environment you're programming in, you
need to pay attention to the CUSTOMIZATIONCONTEXT property
when you're working with CommandBars or Keybindings. These
tell Word in which "container" the changes should be made:
the current document, it's attached template or the global
Normal.dot template. If you don't specify, Word's most
likely to make the change in Normal.dot which means it's
"permanent"; not local to the document your project is
manipulating.

To restore the Menu commandbar, in Word, try
Tools/Customize/Toolbars, select this in the list, and click
Reset.
i am experimenting with a .NET Office AddIn mainly to
extend Microsoft Word XP. I tried to remove or replace
standard Word menu items; i could remove on and adda new
custom item. But now the removed file menu item has gone
away. Is there a way to reenable this file menu item?

Does anyone have any good samples for manipulating office
application nenue entries using Office PIAs?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jan
24 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:)
 

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