Wojtek P wrote:
>
> I try use Microsoft Word and OpenOffice with Python - and i have some
> problems. How to disable "Save As" in word from python code, or how to
> cancel this function when user use it? This code below doesn't work :/

You can't.  This is not a Python issue.  Word simply does expose any
mechanism to disable specific menu items.

Why would you want to?  Are you thinking of this as a way to "protect" a
document?  If so, you are misguided.  If you need a way to display
documents in a read-only manner, then you need to do the display
yourself, without using Word.
-- 
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.


_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to