Use the WebBroswer control of PPT to help the system report and demonstration, pptwebbroswer Control

Source: Internet
Author: User

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.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.