none
Powerpoint - Hints on how to embed Web Object in Powerpoint Slide Programmatically RRS feed

  • Question

  • Hi

    I am aware of the LiveWeb plug in but want to be able to automate inserting a web object myself for other reasons (tool is a .ppam so you can't see the code).

    i.e. it displays a URL in a window within Powerpoint

    I am aware of the objects over at http://msdn.microsoft.com/en-us/library/microsoft.office.interop.powerpoint.aspx 

    For some reason Microsoft have provided a good Media library for insertion, videos etc, but for some reason decided not to provice a web object. Having coded a C# Windows App many years ago, i used the WebBrowser class to embed a web page in a form.

    >> I am after pointers on how to do this in Powerpoint via C# or VBA ?

    Thanks

    Tuesday, April 3, 2012 6:19 AM

Answers

  • Well paint me green and call me gumby, i found some online info on this !!

     http://support.microsoft.com/kb/291926  & http://msdn.microsoft.com/en-us/library/Aa752043.aspx

    In the Developer Tab there is an icon of tools at the end, which exapnds to show ALL the objects available, and the Web Browser object is available!! The 2nd article has the properties listed.

    Note: The Open XML SDK 2.0 Tool from Microsoft will not successfully open an Office document with embedded controls..

    The only was to find out what is going on is to handle the powerpoint.pptx doc as a ZIP file and extract the contents, then you can see some of the internals.

    Cheers

    Tuesday, April 3, 2012 7:25 AM

All replies

  • Well paint me green and call me gumby, i found some online info on this !!

     http://support.microsoft.com/kb/291926  & http://msdn.microsoft.com/en-us/library/Aa752043.aspx

    In the Developer Tab there is an icon of tools at the end, which exapnds to show ALL the objects available, and the Web Browser object is available!! The 2nd article has the properties listed.

    Note: The Open XML SDK 2.0 Tool from Microsoft will not successfully open an Office document with embedded controls..

    The only was to find out what is going on is to handle the powerpoint.pptx doc as a ZIP file and extract the contents, then you can see some of the internals.

    Cheers

    Tuesday, April 3, 2012 7:25 AM
  • Hi Greg B Roberts,
    Thank you for posting. 
    I will help you involve others to help you. There might be some delay about the response. Appreciate your patience.
    Best Regards,


    Bruce Song [MSFT]
    MSDN Community Support | Feedback to us

    Wednesday, April 4, 2012 2:10 AM