I
IGS_Support - Martin
Hi all,
We are currently writing a shared add-in for word, excel & powerpoint 2007
that restricts the saving of certain documents by setting the Cancel value to
true in each applications "before save" event.
All is working fine except when the add-in is installed into PowerPoint 2007
on an XP machine with Office 2007 and Office Live 1.4 Add-in installed, if we
allow the save everything is fine, as soon as we set Cancel=true and return
to Powerpoint, powerpoint then raises the "Encounted a problem" window. If we
remove the Office Live add-in everything works ok again. Just wondered if
anyone else has had this issue. Word & Excel work fine.
Event Handler Setup:
ppointApp.PresentationBeforeSave += new
Microsoft.Office.Interop.PowerPoint.EApplication_PresentationBeforeSaveEventHandler(Application_PresentationBeforeSave);
All we have to do to cause the problem:
public void
Application_PresentationBeforeSave(Microsoft.Office.Interop.PowerPoint.Presentation ppres, ref bool Cancel)
{
Cancel=true;
}
Thanks in advance for any help
Martin
We are currently writing a shared add-in for word, excel & powerpoint 2007
that restricts the saving of certain documents by setting the Cancel value to
true in each applications "before save" event.
All is working fine except when the add-in is installed into PowerPoint 2007
on an XP machine with Office 2007 and Office Live 1.4 Add-in installed, if we
allow the save everything is fine, as soon as we set Cancel=true and return
to Powerpoint, powerpoint then raises the "Encounted a problem" window. If we
remove the Office Live add-in everything works ok again. Just wondered if
anyone else has had this issue. Word & Excel work fine.
Event Handler Setup:
ppointApp.PresentationBeforeSave += new
Microsoft.Office.Interop.PowerPoint.EApplication_PresentationBeforeSaveEventHandler(Application_PresentationBeforeSave);
All we have to do to cause the problem:
public void
Application_PresentationBeforeSave(Microsoft.Office.Interop.PowerPoint.Presentation ppres, ref bool Cancel)
{
Cancel=true;
}
Thanks in advance for any help
Martin