MSDN Sample to Create Presentation makes empty presentation

Home Forums PresentationML MSDN Sample to Create Presentation makes empty presentation

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3738
    TerryS
    Participant

    As an update…
    I have tried using the MSDN Sample code for adding a slide, to to add a slide to an existing presentation.

    When I try to open the modified file, PowerPoint 2013 reports that that it has detected an error and will attempt a fix. The fix happens and a new slide is added.

    Any tips would be appreciated.

    Cheers
    Terry

    #3767
    Eric White
    Keymaster

    Hi Terry,

    I didn’t write that code, and don’t know any details about it. It is written in a style that is different from the way I write.

    I would take the approach that I showed in the screen-cast.

    Alternatively, you could use the OpenXmlRegex module to search/replace content in presentations.

    http://www.ericwhite.com/blog/blog/openxmlregex-developer-center/

    Cheers, Eric

    #3797
    TerryS
    Participant

    Thank Eric

    I guess I am looking for example of boiler plate code that generates a PowerPoint File, and the MSDN example produces an error.

    Do you have a small VS project that does a simple power point file generation you could share?

    thanks
    Terry

    #3800
    Eric White
    Keymaster

    Hi Terry,

    Have you seen this screen-cast:

    Generate Open XML Presentations using a Presentation Template

    Cheers, Eric

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.