Article ID: 291926 - View products that this article applies to.
This article was previously published under Q291926
For a Microsoft PowerPoint 2000 version of this article, see 253699
The code in this article demonstrates how to display a live Web page on a slide during a PowerPoint slide show, using the Microsoft WebBrowser ActiveX control.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. NOTE: The following macro examples work only in PowerPoint. Visual Basic for Applications macros are not supported by the Microsoft PowerPoint Viewer. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
Adding the Control
PowerPoint 2002 and PowerPoint 2003To add a Microsoft WebBrowser control to a slide, follow these steps:
PowerPoint 2007To add a Microsoft WebBrowser control to a slide, follow these steps:
Run from an Action ButtonThe following code runs the browser, opening the Uniform Resource Locator (URL) that you specify:
To run this code, you have to add an action button to the slide to activate the macro:
PowerPoint 2002 and PowerPoint 2003
For more information about the Microsoft WebBrowser Control, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/Aa752043.aspxFor more information about using the WebBrowser Control, click the following article numbers to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/176400/ )How to print the WebBrowser control
(http://support.microsoft.com/kb/155969/ )How to distribute the WebBrowser control
(http://support.microsoft.com/kb/174923/ )How to use the PostData parameter in WebBrowser control