Presentation.Saved property in PowerPoint returns false for a new, un-modified presentation

Suppose you are developing a PowerPoint add-in and want to use the PresentationCloseEvent to present users with a custom dialog to save the presentation only if the new presentation contains valid changes to be saved. Here is a code snippet from one such C# add-in to explain the scenario programmatically (for the programming geeks )…

0

How to retain alternate data stream associated with a word document while converting it to newer file format version

Recently I encountered a not so common [;-)] scenario while working with Word 2007: If you have a Word 97-2003 format document which also has an alternate data stream associated with it, converting this document to the newer file format (DOCX file format) in Word 2007 may result in the loss of the associated alternate…

0

“HeaderFooter (unknown member) : Invalid request.” Error, while setting slide footer text in PowerPoint 2007 via .Net

Symptoms: While programming PowerPoint 2007 in .Net, when you try setting Footer text for slides, you may encounter the following error message, Error Message: HeaderFooter (unknown member) : Invalid request. Cause This is a known issue and has been reported to the product group Resolution To workaround this issue, first, we need to set the…

0

Presentation Close event is incorrectly fired while issuing Presentation Print Command

Summary When the print command of a PowerPoint Presentation is issued, the presentation.close event is fired in addition to the Print event・  However, the expected behavior is that the presentation.close event should not get fired when the print command is issued.   Cause This is a known issue with PowerPoint 2003/ 2007.   Resolution Either…

0

Creating charts in Word and PowerPoint using newly introduced Object Model in Office 2007 Service Pack 2

Office 2007 SP2 has added a major inclusion to the Object Models of Word and PowerPoint, i.e., Object Model for Charts. This new object model (OM) provides office application programmers flexibility to manipulate charts programmatically in Word and PowerPoint. The new OM in Word and PowerPoint is similar to the one that existed for Excel…

27