Word prompts Save on unchanged document

Add-in Express™ Support Service
That's what is more important than anything else

Word prompts Save on unchanged document
 
Srdjan Klasnja




Posts: 12
Joined: 2014-01-10
Hi,

I created Word 2010 add'in by using RibbonTab, RibbonContextMenu and TaskPane.

After installing of add-in, my probleme is that I have each time I open Word document, and try to close it right after (without any changes), Word Save dialog box prompts to save changes to document.

How can I avoide that?

Best regards,
Srdjan
Posted 10 Jan, 2014 07:27:50 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Srdjan,

Are you using any CommandBar controls in your add-in? If so, they are added to normal.dot (normal.dotm) and this triggers the Save dialog.


Andrei Smolin
Add-in Express Team Leader
Posted 10 Jan, 2014 08:49:48 Top
Srdjan Klasnja




Posts: 12
Joined: 2014-01-10
Hello Andrei,

Thank you for your response.

Here is the list of controls that we use in our AddinModule :
- ADXRibbonMenu
- ADXRibbonComboBox
- ADXRibbonSeparator
- ADXRibbonButton
- ADXRibbonMenuSeparator
- ImageList
- ADXRibbonTab
- ADXWordTaskPanesManager
- ADXWordTaskPanesCollectionItem
- ADXRibbonGroup
- ADXRibbonEditBox
- ADXRibbonContextMenu
- ADXWordAppEvents
- ADXRibbonCheckBox

Which of this controls is added to Normal.dot and is it possible to avoid it?

Also we are dynamicly creating ADXRibbonButtons inside ADXRibbonMenu, could this cause that behavior also?

Thanks in advance,
Srdjan
Posted 13 Jan, 2014 04:52:01 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Srdjan,

None of the components above adds anything to normal.dot (normal.dotm).

You can comment out your code and check if the issue is reproducible. If it is, please send me the project to the support email address, see {Add-in Express installation folder}\readme.txt. When sending your email, please make sure it contains a link to this topic.


Andrei Smolin
Add-in Express Team Leader
Posted 13 Jan, 2014 05:24:21 Top