Access to Big Office button in Word 2007

O

oksi

My application hosts Word for creating .xml Templates.

I have to disable Big Office Button in Word 2007 as user should use only my
app's "Save" button as only .xml templates file should be saved.

With Word 2000,2002 and 2003 it worked fine as I was able to disable Main
Menu/FIle and Open/Save/New buttons from Word.ApplicationClass's CommandBars
collection.
All those items are found in Word 2007 collection but by disabling them I
can not disable BIg Ofiice BUtton menu items. It seems that they are in
totaly different collection.

Can somebody help me with it?
Thanks...
 
C

Cindy M.

Hi =?Utf-8?B?b2tzaQ==?=,
My application hosts Word for creating .xml Templates.

I have to disable Big Office Button in Word 2007 as user should use only my
app's "Save" button as only .xml templates file should be saved.

With Word 2000,2002 and 2003 it worked fine as I was able to disable Main
Menu/FIle and Open/Save/New buttons from Word.ApplicationClass's CommandBars
collection.
All those items are found in Word 2007 collection but by disabling them I
can not disable BIg Ofiice BUtton menu items. It seems that they are in
totaly different collection.

Can somebody help me with it?
This is not possible - BY DESIGN.

Office applications are (with the exception of Access) end-user products. As
such, the philosophy is that the end-user should have final control over the
application. After all, it's licensed for end-users; Office has no
"distributable developer run-time". The big Office button will always present
certain commands that will let the end-user retain final control over the
application.

You can disable certain items, they're children of the officeMenu element, but
not everything.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

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

oksi

Thank you, Cindy.



Cindy M. said:
Hi =?Utf-8?B?b2tzaQ==?=,

This is not possible - BY DESIGN.

Office applications are (with the exception of Access) end-user products. As
such, the philosophy is that the end-user should have final control over the
application. After all, it's licensed for end-users; Office has no
"distributable developer run-time". The big Office button will always present
certain commands that will let the end-user retain final control over the
application.

You can disable certain items, they're children of the officeMenu element, but
not everything.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)


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

Doug Robbins - Word MVP

In addition to Cindy's response, you can also intercept/hijack an attemtp to
use the Save/Save As commands by creating a macros with the names of those
commands -FileSave, FileSaveAs, etc.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 

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