Question

I'm having some problems with bypassing the Application_PresentationBeforeSave event in MS Office PowerPoint 2007

void Application_PresentationBeforeSave(Microsoft.Office.Interop.PowerPoint.Presentation Pres, ref bool Cancel)

In this event, I need to update a webservice, with the byte[] content of the file. But at this point in time, the file is not saved. There is no event called PresentationAfterSave fx that is called.

I need some way of calling the event again, after it is saved. Some people are saying that I need to make a Thread, due the save and then the update or the otherway around. This is by far the worst solution (but properly the only one), is there a better solution ?

// dennis

Was it helpful?

Solution

The PresentationSave rather than PresentationBeforeSave event is what you're looking for, I think.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top