Use the WebBroswer control of PPT to help the system report and demonstration, pptwebbroswer Control
How can we seamlessly integrate the presentation system results during the PPT presentation process? Use the WebBroswer control that comes with the PPT, which is equivalent to embedding a browser in the PPT. Open the system in this browser for Operation demonstration.
Environment: Windows 7 + Office2013
Result (you can point the url of the WebBroswer control to the corresponding system address ):
1. Insert the WebBroswer Control
On the right tab of "PowerPoint options"-"Custom functional area", select "development tools" to display the "development tools" menu on the menu bar, add the WebBroswer control to other controls.
2. Set the WebBroswer Control
For example, WebBroswer needs to be immediately transferred to an address after the PPT is loaded and displayed (the system address can be entered here). Enter the following command.
Sub OnSlideShowPageChange()WebBrowser1.Navigate2 "http://www.cnblogs.com/colinhou"End Sub
Of course, you can also add a button in the PPT. After you click the button, the WebBroswer control is directed to the configured address. You only need to set it in the Click Event of the button.
Private Sub CommandButton1_Click()WebBrowser1.Navigate2 "http://www.cnblogs.com/colinhou"End Sub
3. Notes
Save the pptfile as .ppt m. When you use this PPT for the first time, you will be prompted to enable the macro and agree to it. In addition, due to the security design of Office2013, you also need to modify the Registry to ensure normal operation and operation. Otherwise, an error such as "This ActiveX control cannot be inserted" will be prompted.
Solution ):
Find the following items in the Registry Editor: "HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Office \ 15.0 \ Common \ COM Compatibility \ {8856F961-340A-11D0-A96B-00C04FD705A2 }"
Right-click the item on the right to modify it. On the page, you can change 400 to 0 in hexadecimal format, or change 1024 to 0 in decimal format.
Reference: http://www.rapidbbs.cn/forum.php? Mod = viewthread & tid = 62190.