PowerPoint Automation: PowerPoint ignores the status of GetSaved()

S

Synergy

Problem: Even when the status of GetSaved() returns false, PowerPoint does
not prompt for saving, when it is closed.

Platform: Windows Vista Enterprise, Office 2003

Problem description:
We have created an exe in Microsoft Visual C++ 6.0 and set the save status
value of presentation to FALSE (by calling the function
_Presentation.SetSaved(FALSE)).
Then we closed the PowerPoint. PowerPoint prompted for saving the
presentation as expected.

We have another project (DLL in Microsoft Visual C++ 6.0) and we are setting
the save status of PowerPoint to FALSE from this project. This time
PowerPoint doesn’t prompt for saving the presentation when it is closed.

Can you please give may some possible reasons for this kind of behavior.

In this case, we have checked the save status of PowerPoint from another
standalone EXE before the PowerPoint is closed. It shows the presentation is
not saved (the value of GetSaved() = FALSE). Still PowerPoint did not ask for
saving the presentation.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top