David Smith
Guest
|
Hi,
I have an ongoing issue that we have been battling for about 7 years. I've made several posts here. The replies have been helpful, but the issue continues. In short, when adding buttons to built-in menus, Word modifies normal.dot. Many users (especially in big companies)have normal.dot files that are marked read-only. This creates an error message every time that Word (or Outlook) is closed. Now my friends in Redmond are involved. Evidently there is a solution because Acrobat solved this issue with during their version 7 release cycle.
All controls are marked temporary, yet the icons are written to normal.dot. Can we kick open this door again and try to get a workaround?
Thanks,
David |
|
Andrei Smolin
Add-in Express team
Posts: 18825
Joined: 2006-05-11
|
Hi David,
// theNormalTemplate := WordApp.Normal.Template
If the file specified by theNormalTemplate.FullName is read-only, you can prevent Word from saving (trying to save) temporary controls to the normal template by setting theNormalTemplate.Saved := True.
Using that approach with writable normal.dot prevents saving UI modifications made by the user and other add-ins.
Andrei Smolin
Add-in Express Team Leader |
|