CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2020
    Posts
    2

    Lightbulb Modify Powerpoint on runtime (maybe with memory manipulation?).

    Hi,

    I am trying to modify parts of a running (!) Powerpoint presentation.

    I would like to change the types (e.g. "datetime2") and values (e.g. "Dezember 2020") of fields (<a:fld>) in textboxes. This information is normally stored in a XML-file but i cannot seem to change the XML while Powerpoint is running. Please note that I donīt want to replace the field with a new one, instead I want to change the existing one.

    AFAIK this is not possible with Open XML, COM, VBA or directly in PPT. Therefore I would like to ask you for other approaches such as memory manipulation. Does anybody here have any experience with this, especially with respect to Powerpoint?

    Thanks!

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,495

    Re: Modify Powerpoint on runtime (maybe with memory manipulation?).

    Why?

  3. #3
    Join Date
    Dec 2020
    Posts
    2

    Re: Modify Powerpoint on runtime (maybe with memory manipulation?).

    Quote Originally Posted by Arjay View Post
    Why?
    The problem is that I need to be able to identify parts of texts (i.e. not whole shapes) with some identifier in order to change them programmatically. Fields have a unique ID and if I could change their type and value while PPT is open I could achieve my goal. Please note that this already works when editing the XML of the closed presentation - but i donīt know how to do it on runtime.

  4. #4
    Join Date
    Nov 2018
    Posts
    49

    Re: Modify Powerpoint on runtime (maybe with memory manipulation?).

    Still no nearer to why?
    https://xyproblem.info/

    If you want to do animations, then this.
    https://support.microsoft.com/en-us/...1-709945f9352c

    If you're trying to do something like "live stock market prices" in powerpoint, then there is such a thing as using the wrong tool for the job.

    And we're back to "why" again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured